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