summaryrefslogtreecommitdiffstats
path: root/includes
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2021-06-13 16:07:12 +0200
committerHarald Eilertsen <haraldei@anduin.net>2021-06-13 16:07:12 +0200
commit68652c0546845de2f216d7fb285205e2eddf9d41 (patch)
tree45d90095ac4d671c7f372c22f1f88fd9231641e2 /includes
parentbb353e8e61156b0c9fdab673e2485502a01b8434 (diff)
downloadgigologadmin-68652c0546845de2f216d7fb285205e2eddf9d41.tar.gz
gigologadmin-68652c0546845de2f216d7fb285205e2eddf9d41.tar.bz2
gigologadmin-68652c0546845de2f216d7fb285205e2eddf9d41.zip
Fix detecting error in update_concert method.
Diffstat (limited to 'includes')
-rw-r--r--includes/concert.php2
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;