Check if not empty rather than isset. fixes #7553 see #7552

git-svn-id: https://develop.svn.wordpress.org/trunk@8693 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2008-08-20 22:01:44 +00:00
parent b107f331b9
commit c21d556a9f
1 changed files with 2 additions and 1 deletions

View File

@ -10,7 +10,8 @@
require_once('admin.php');
// Handle bulk actions
if ( isset($_GET['action']) && $_GET['action'] != 'Actions' ) {
if ( !empty($_GET['action']) && $_GET['action'] != 'Actions' ) {
echo "Ation is " . $_GET['action'];
switch ( $_GET['action'] ) {
case 'delete':
if ( isset($_GET['post']) ) {