fix sql empty query error in db update 1216
This commit is contained in:
parent
08a8011456
commit
e4a1286aae
@ -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;
|
||||||
|
Reference in New Issue
Block a user