From 68652c0546845de2f216d7fb285205e2eddf9d41 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Sun, 13 Jun 2021 16:07:12 +0200 Subject: Fix detecting error in update_concert method. --- includes/concert.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/concert.php') 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; -- cgit v1.2.3