From 32de123db0ac526795a237ff46885fe8a332cbc0 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 17 Oct 2018 11:05:28 +0200 Subject: fix sql error --- Zotlabs/Module/Item.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Zotlabs') 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']) ); } -- cgit v1.2.3