diff options
author | Habeas Codice <habeascodice@federated.social> | 2015-01-28 17:34:53 -0800 |
---|---|---|
committer | Habeas Codice <habeascodice@federated.social> | 2015-01-28 17:34:53 -0800 |
commit | 64181abc6f46085a3772166cfdaa427fce4722ed (patch) | |
tree | 5dd80891c5329dcdd14cf62e679c03fa630bc63a /mod | |
parent | aa24d6c8e58f91fadead5cedd8a332aaec1ea64a (diff) | |
download | volse-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.php | 2 |
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']); |