Commit d0076162 authored by Mario's avatar Mario Committed by Mario

fix sql empty query error in db update 1216


(cherry picked from commit e4a1286a)
parent 6c10af29
...@@ -6,7 +6,7 @@ class _1216 { ...@@ -6,7 +6,7 @@ class _1216 {
function run() { 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) { if($r) {
return UPDATE_SUCCESS; return UPDATE_SUCCESS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment