aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-07-29 06:05:41 +0000
committerMario <mario@mariovavti.com>2018-07-29 08:06:29 +0200
commitd00761628fa7bb70cfa203dbd328cc5dfeb6c481 (patch)
treec810dd2a744ab0d5b632cd99172e61b15ca71bbf
parent6c10af29ee202b1a388400094a00e5b840e0ea15 (diff)
downloadvolse-hubzilla-d00761628fa7bb70cfa203dbd328cc5dfeb6c481.tar.gz
volse-hubzilla-d00761628fa7bb70cfa203dbd328cc5dfeb6c481.tar.bz2
volse-hubzilla-d00761628fa7bb70cfa203dbd328cc5dfeb6c481.zip
fix sql empty query error in db update 12163.6.1
(cherry picked from commit e4a1286aae411023210628d3be306420f7844d22)
-rw-r--r--Zotlabs/Update/_1216.php2
1 files changed, 1 insertions, 1 deletions
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;