mirror of
https://github.com/friendica/friendica
synced 2024-12-22 06:07:27 +01:00
more usage of dbm::is_result() and sorted a bit statements
Signed-off-by: Roland Häder <roland@mxchange.org>
This commit is contained in:
parent
d2d6200669
commit
d9d60346ff
1 changed files with 1 additions and 0 deletions
|
@ -917,6 +917,7 @@ function admin_page_site_post(App $a)
|
|||
$upds = implode(", ", $upd);
|
||||
|
||||
$r = q("UPDATE %s SET %s;", $table_name, $upds);
|
||||
|
||||
if (!DBM::is_result($r)) {
|
||||
notice("Failed updating '$table_name': " . dba::errorMessage());
|
||||
goaway('admin/site');
|
||||
|
|
Loading…
Reference in a new issue