Skip to content

Commit 8cf9ea6

Browse files
authored
fixing strcasecmp oversight
1 parent 74f3334 commit 8cf9ea6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

auth.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ private function has_env_bool($variableName) {
308308
$value = getenv($variableName);
309309
$exists = $value != false;
310310

311-
return $exists && strcasecmp($value, "true");
311+
return $exists && (strcasecmp($value, "true") == 0);
312312
}
313313

314314
/**

0 commit comments

Comments
 (0)