aboutsummaryrefslogtreecommitdiffstats
path: root/mod/poco.php
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2014-11-17 16:37:47 -0800
committerHabeas Codice <habeascodice@federated.social>2014-11-17 16:37:47 -0800
commitd0e0a8fb27bcb5d460d28a2a2677cdad93e5c4ee (patch)
tree7c7adcbea02e223a8ce1a502dd1685db61b9df8c /mod/poco.php
parent4fa0df2927323a10fb813f4303f9c472e214c48d (diff)
downloadvolse-hubzilla-d0e0a8fb27bcb5d460d28a2a2677cdad93e5c4ee.tar.gz
volse-hubzilla-d0e0a8fb27bcb5d460d28a2a2677cdad93e5c4ee.tar.bz2
volse-hubzilla-d0e0a8fb27bcb5d460d28a2a2677cdad93e5c4ee.zip
implicit type conversion
Diffstat (limited to 'mod/poco.php')
-rw-r--r--mod/poco.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/poco.php b/mod/poco.php
index fc01fc565..59dbf8f93 100644
--- a/mod/poco.php
+++ b/mod/poco.php
@@ -69,7 +69,7 @@ function poco_init(&$a) {
if($system_mode) {
$r = q("SELECT count(*) as `total` from abook where ( abook_flags & " . ABOOK_FLAG_SELF .
- " )>0 and abook_channel in (select uid from pconfig where cat = 'system' and k = 'suggestme' and v = 1) ");
+ " )>0 and abook_channel in (select uid from pconfig where cat = 'system' and k = 'suggestme' and v = '1') ");
}
else {
$r = q("SELECT count(*) as `total` from abook where abook_channel = %d