Notice fixes from filosofo and Viper007Bond. see #7509

git-svn-id: https://develop.svn.wordpress.org/trunk@9506 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2008-11-04 03:22:24 +00:00
parent 1ac8dd147f
commit dab986a9b0
17 changed files with 45 additions and 30 deletions

View File

@@ -17,12 +17,12 @@ wp_reset_vars(array('action', 'cat_id', 'linkurl', 'name', 'image', 'description
if ( ! current_user_can('manage_links') )
wp_die( __('You do not have sufficient permissions to edit the links for this blog.') );
if ('' != $_POST['deletebookmarks'])
if ( !empty($_POST['deletebookmarks']) )
$action = 'deletebookmarks';
if ('' != $_POST['move'])
if ( !empty($_POST['move']) )
$action = 'move';
if ('' != $_POST['linkcheck'])
$linkcheck = $_POST[linkcheck];
if ( !empty($_POST['linkcheck']) )
$linkcheck = $_POST['linkcheck'];
$this_file = 'link-manager.php';
@@ -114,4 +114,4 @@ switch ($action) {
default :
break;
}
?>
?>