aboutsummaryrefslogtreecommitdiffstats
path: root/include/plugin.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2023-12-31 09:55:27 +0100
committerMario Vavti <mario@mariovavti.com>2023-12-31 09:55:27 +0100
commit62db8c3969f783897ff2de1bf3250057c37eb422 (patch)
tree4201794d9550de52bd36aead6f494de16340aef9 /include/plugin.php
parentae3db366e50a07b1d960650e8c40a0de09341d10 (diff)
downloadvolse-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.php2
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();