mirror of
https://framagit.org/hubzilla/core.git
synced 2026-06-21 00:52:33 -04:00
fix php errors and deprecation warnings
This commit is contained in:
@@ -190,7 +190,7 @@ function reload_plugins() {
|
||||
$plugins = get_config('system', 'addon');
|
||||
if(strlen($plugins)) {
|
||||
$r = dbq("SELECT * FROM addon WHERE installed = 1");
|
||||
if(count($r))
|
||||
if($r)
|
||||
$installed = $r;
|
||||
else
|
||||
$installed = array();
|
||||
|
||||
Reference in New Issue
Block a user