aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2015-01-28 17:34:53 -0800
committerHabeas Codice <habeascodice@federated.social>2015-01-28 17:34:53 -0800
commit64181abc6f46085a3772166cfdaa427fce4722ed (patch)
tree5dd80891c5329dcdd14cf62e679c03fa630bc63a /mod
parentaa24d6c8e58f91fadead5cedd8a332aaec1ea64a (diff)
downloadvolse-hubzilla-64181abc6f46085a3772166cfdaa427fce4722ed.tar.gz
volse-hubzilla-64181abc6f46085a3772166cfdaa427fce4722ed.tar.bz2
volse-hubzilla-64181abc6f46085a3772166cfdaa427fce4722ed.zip
fix implicit boolean
Diffstat (limited to 'mod')
-rw-r--r--mod/sitelist.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/sitelist.php b/mod/sitelist.php
index 95a53c9a4..12911cbd4 100644
--- a/mod/sitelist.php
+++ b/mod/sitelist.php
@@ -28,7 +28,7 @@ function sitelist_init(&$a) {
$result = array('success' => false);
- $r = q("select count(site_url) as total from site where 1 $sql_extra ");
+ $r = q("select count(site_url) as total from site where true $sql_extra ");
if($r)
$result['total'] = intval($r[0]['total']);