diff options
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(); |