]> git.mxchange.org Git - friendica.git/commitdiff
more usage of dbm::is_result() and sorted a bit statements
authorRoland Häder <roland@mxchange.org>
Sat, 4 Mar 2017 09:34:46 +0000 (10:34 +0100)
committerRoland Häder <roland@mxchange.org>
Mon, 14 May 2018 20:49:56 +0000 (22:49 +0200)
Signed-off-by: Roland Häder <roland@mxchange.org>
mod/admin.php

index 39416dae54f43d467aa6540b09e520fe99704b4c..7eadbb79edc893f6b5763f74d35a1e9b3871bbd2 100644 (file)
@@ -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');