Index: adminmenus.php =================================================================== --- adminmenus.php (revision 169171) +++ adminmenus.php (working copy) @@ -1,22 +1,16 @@

'.__('Manage Ads', 'wp125').'

'; //Handle deactivations -if ($_GET['wp125action'] == "deactivate") { +if (isset($_GET['wp125action']) && $_GET['wp125action'] == "deactivate") { $theid = $_GET['theid']; echo '

'.__('Are you sure you want to deactivate the ad?', 'wp125').' '.__('Yes', 'wp125').'   '.__('No!', 'wp125').'

'; } -if ($_GET['wp125action'] == "deactivateconf") { +if (isset($_GET['wp125action']) && $_GET['wp125action'] == "deactivateconf") { $theid = $_GET['theid']; global $wpdb, $table_prefix; $adtable_name = $wpdb->prefix . "wp125_ads"; @@ -25,11 +19,11 @@ } //Handle REactivations -if ($_GET['wp125action'] == "activate") { +if (isset($_GET['wp125action']) && $_GET['wp125action'] == "activate") { $theid = $_GET['theid']; echo '

'.__('Are you sure you want to reactivate the ad?', 'wp125').' '.__('Yes', 'wp125').'   '.__('No!', 'wp125').'

'; } -if ($_GET['wp125action'] == "activateconf") { +if (isset($_GET['wp125action']) && $_GET['wp125action'] == "activateconf") { $theid = $_GET['theid']; global $wpdb, $table_prefix; $adtable_name = $wpdb->prefix . "wp125_ads"; @@ -38,7 +32,7 @@ } echo '