diff options
author | zotlabs <mike@macgirvin.com> | 2016-10-09 16:31:04 -0700 |
---|---|---|
committer | zotlabs <mike@macgirvin.com> | 2016-10-09 16:31:04 -0700 |
commit | e7233c0c94d0464994df94d8907518d49fcb0650 (patch) | |
tree | face7f2e2c8b6212349e769f6c552138006e1f1e /Zotlabs/Module/Dirsearch.php | |
parent | 2bdf135cbcf6208a4c2400d846b2fbffd8ae2c6b (diff) | |
download | volse-hubzilla-e7233c0c94d0464994df94d8907518d49fcb0650.tar.gz volse-hubzilla-e7233c0c94d0464994df94d8907518d49fcb0650.tar.bz2 volse-hubzilla-e7233c0c94d0464994df94d8907518d49fcb0650.zip |
more backquotes - this should take care of most except for the array import queries
Diffstat (limited to 'Zotlabs/Module/Dirsearch.php')
-rw-r--r-- | Zotlabs/Module/Dirsearch.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Dirsearch.php b/Zotlabs/Module/Dirsearch.php index ebd6c3715..927800bbb 100644 --- a/Zotlabs/Module/Dirsearch.php +++ b/Zotlabs/Module/Dirsearch.php @@ -185,7 +185,7 @@ class Dirsearch extends \Zotlabs\Web\Controller { else { $qlimit = " LIMIT " . intval($perpage) . " OFFSET " . intval($startrec); if($return_total) { - $r = q("SELECT COUNT(xchan_hash) AS `total` FROM xchan left join xprof on xchan_hash = xprof_hash where $logic $sql_extra and xchan_network = 'zot' and xchan_hidden = 0 and xchan_orphan = 0 and xchan_deleted = 0 $safesql "); + $r = q("SELECT COUNT(xchan_hash) AS total FROM xchan left join xprof on xchan_hash = xprof_hash where $logic $sql_extra and xchan_network = 'zot' and xchan_hidden = 0 and xchan_orphan = 0 and xchan_deleted = 0 $safesql "); if($r) { $ret['total_items'] = $r[0]['total']; } |