From e4a1286aae411023210628d3be306420f7844d22 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 29 Jul 2018 08:05:41 +0200 Subject: fix sql empty query error in db update 1216 --- Zotlabs/Update/_1216.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zotlabs/Update/_1216.php b/Zotlabs/Update/_1216.php index 8890795f1..69f2be15a 100644 --- a/Zotlabs/Update/_1216.php +++ b/Zotlabs/Update/_1216.php @@ -6,7 +6,7 @@ class _1216 { function run() { - $r = q("UPDATE xchan set xchan_name = 'unknown' where xchan_name like '%<%' "); + $r = dbq("UPDATE xchan set xchan_name = 'unknown' where xchan_name like '%<%' "); if($r) { return UPDATE_SUCCESS; -- cgit v1.2.3