mirror of
https://git.sekbaer.de/Friendica/friendica.git
synced 2025-06-12 01:54:26 +02:00
Avoid undefined class variables
This commit is contained in:
parent
a29b7e7153
commit
225eea2ca6
10 changed files with 25 additions and 9 deletions
|
@ -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__));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue