aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2018-10-17 11:05:28 +0200
committerMario <mario@mariovavti.com>2018-10-17 11:05:28 +0200
commit32de123db0ac526795a237ff46885fe8a332cbc0 (patch)
tree3ea4df9276fdbd4ad29bbb638400b8989826790d
parent4295fbf6c6001619bf36759dfdec80ba552af409 (diff)
downloadvolse-hubzilla-32de123db0ac526795a237ff46885fe8a332cbc0.tar.gz
volse-hubzilla-32de123db0ac526795a237ff46885fe8a332cbc0.tar.bz2
volse-hubzilla-32de123db0ac526795a237ff46885fe8a332cbc0.zip
fix sql error
-rw-r--r--Zotlabs/Module/Item.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php
index ef1eb3700..9419dea0f 100644
--- a/Zotlabs/Module/Item.php
+++ b/Zotlabs/Module/Item.php
@@ -1178,7 +1178,7 @@ logger('linkify: ' . print_r($results,true));
intval($channel_id)
);
if($y && intval($y[0]['total']) > 1) {
- q("update account set account_level = 1 where account_id = %d limit 1",
+ q("update account set account_level = 1 where account_id = %d",
intval($a[0]['account_id'])
);
}