diff options
author | Mario Vavti <mario@mariovavti.com> | 2023-12-31 09:55:27 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2023-12-31 09:55:27 +0100 |
commit | 62db8c3969f783897ff2de1bf3250057c37eb422 (patch) | |
tree | 4201794d9550de52bd36aead6f494de16340aef9 /include/plugin.php | |
parent | ae3db366e50a07b1d960650e8c40a0de09341d10 (diff) | |
download | volse-hubzilla-62db8c3969f783897ff2de1bf3250057c37eb422.tar.gz volse-hubzilla-62db8c3969f783897ff2de1bf3250057c37eb422.tar.bz2 volse-hubzilla-62db8c3969f783897ff2de1bf3250057c37eb422.zip |
fix php errors and deprecation warnings
Diffstat (limited to 'include/plugin.php')
-rw-r--r-- | include/plugin.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/plugin.php b/include/plugin.php index f1d501001..2a35b72de 100644 --- a/include/plugin.php +++ b/include/plugin.php @@ -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(); |