diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-06-13 16:07:12 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-06-13 16:07:12 +0200 |
commit | 68652c0546845de2f216d7fb285205e2eddf9d41 (patch) | |
tree | 45d90095ac4d671c7f372c22f1f88fd9231641e2 | |
parent | bb353e8e61156b0c9fdab673e2485502a01b8434 (diff) | |
download | gigologadmin-68652c0546845de2f216d7fb285205e2eddf9d41.tar.gz gigologadmin-68652c0546845de2f216d7fb285205e2eddf9d41.tar.bz2 gigologadmin-68652c0546845de2f216d7fb285205e2eddf9d41.zip |
Fix detecting error in update_concert method.
-rw-r--r-- | includes/concert.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/concert.php b/includes/concert.php index 6d568c8..d370de9 100644 --- a/includes/concert.php +++ b/includes/concert.php @@ -128,7 +128,7 @@ if ( !class_exists('GiglogAdmin_Concert') ) { array('id' => $id) ); - if ( !$res ) { + if ( $res === false ) { // exit( var_dump( $wpdb->last_query ) ); //for onscreen debugging when needed error_log( __CLASS__ . '::' . __FUNCTION__ . ": {$wpdb->last_error}"); die; |