This repository has been archived on 2024-08-19. You can view files and clone it, but cannot push or open issues or pull requests.
Files
core/Zotlabs/Update/_1216.php
Mario Vavti d00761628f fix sql empty query error in db update 1216
(cherry picked from commit e4a1286aae)
2018-07-29 08:06:29 +02:00

20 lines
246 B
PHP

<?php
namespace Zotlabs\Update;
class _1216 {
function run() {
$r = dbq("UPDATE xchan set xchan_name = 'unknown' where xchan_name like '%<%' ");
if($r) {
return UPDATE_SUCCESS;
}
else {
return UPDATE_FAILED;
}
}
}