aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
Diffstat (limited to 'boot.php')
-rw-r--r--boot.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/boot.php b/boot.php
index e230a13c6..273f71f2a 100644
--- a/boot.php
+++ b/boot.php
@@ -1126,7 +1126,7 @@ function check_config(&$a) {
*/
$r = q("SELECT * FROM `addon` WHERE `installed` = 1");
- if(count($r))
+ if($r)
$installed = $r;
else
$installed = array();