Skip to content

Commit

Permalink
localize variable more
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Jan 25, 2024
1 parent 913df05 commit be92398
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Zotero.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ final class Zotero {
protected static int $zotero_announced = 0;
protected static CurlHandle $zotero_ch, $ch_ieee, $ch_jstor, $ch_dx, $ch_pmc, $ch_doi;
protected static int $zotero_failures_count = 0;
private static bool $is_setup = FALSE;

public static function create_ch_zotero() : void {
if (self::$is_setup) return;
self::$is_setup = TRUE;
static $is_setup = FALSE;
if ($is_setup) return;
$is_setup = TRUE;
if (TRAVIS) {
$time = 3.0;
} else {
Expand Down

0 comments on commit be92398

Please sign in to comment.