Avoid undefined class variables
This commit is contained in:
@@ -9,7 +9,7 @@ require_once("include/threads.php");
|
||||
function shadowupdate_run(&$argv, &$argc){
|
||||
global $a;
|
||||
|
||||
if (is_null($a)) {
|
||||
if (empty($a)) {
|
||||
$a = new App(dirname(__DIR__));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user