Avoid undefined class variables
This commit is contained in:
@@ -1760,7 +1760,7 @@ function db_definition() {
|
||||
function dbstructure_run(&$argv, &$argc) {
|
||||
global $a;
|
||||
|
||||
if (is_null($a)) {
|
||||
if (empty($a)) {
|
||||
$a = new App(dirname(__DIR__));
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user