diff options
Diffstat (limited to 'includes/admin/views/giglog_admin_page.php')
-rw-r--r-- | includes/admin/views/giglog_admin_page.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/admin/views/giglog_admin_page.php b/includes/admin/views/giglog_admin_page.php index 13c08b9..b0b018c 100644 --- a/includes/admin/views/giglog_admin_page.php +++ b/includes/admin/views/giglog_admin_page.php @@ -158,7 +158,7 @@ if ( !class_exists( 'GiglogAdmin_AdminPage' ) ) { ]; $concert = GiglogAdmin_Concert::get(intval($_POST['pid'])); - if ($concert->update((object) $attributes)) { + if ($concert && $concert->update((object) $attributes)) { // let user know the concert was updated. // Look into admin_notices } |