From e61dbf722d35b748ff57b1260f30b9ac0fda60aa Mon Sep 17 00:00:00 2001 From: Habeas Codice Date: Mon, 17 Nov 2014 16:49:17 -0800 Subject: implicit type conversion --- mod/poco.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/poco.php') diff --git a/mod/poco.php b/mod/poco.php index 59dbf8f93..3f932e92f 100644 --- a/mod/poco.php +++ b/mod/poco.php @@ -93,7 +93,7 @@ function poco_init(&$a) { if($system_mode) { $r = q("SELECT abook.*, xchan.* from abook left join xchan on abook_xchan = xchan_hash where ( abook_flags & " . ABOOK_FLAG_SELF . - " )>0 and abook_channel in (select uid from pconfig where cat = 'system' and k = 'suggestme' and v = 1) limit %d offset %d ", + " )>0 and abook_channel in (select uid from pconfig where cat = 'system' and k = 'suggestme' and v = '1') limit %d offset %d ", intval($itemsPerPage), intval($startIndex) ); -- cgit v1.2.3