aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2014-11-17 16:49:17 -0800
committerHabeas Codice <habeascodice@federated.social>2014-11-17 16:49:17 -0800
commite61dbf722d35b748ff57b1260f30b9ac0fda60aa (patch)
treeadbd034bb9d74c5b1a16c752a109c82267ba0553
parentd0e0a8fb27bcb5d460d28a2a2677cdad93e5c4ee (diff)
downloadvolse-hubzilla-e61dbf722d35b748ff57b1260f30b9ac0fda60aa.tar.gz
volse-hubzilla-e61dbf722d35b748ff57b1260f30b9ac0fda60aa.tar.bz2
volse-hubzilla-e61dbf722d35b748ff57b1260f30b9ac0fda60aa.zip
implicit type conversion
-rw-r--r--mod/poco.php2
1 files changed, 1 insertions, 1 deletions
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)
);