Suppress "Link added" message when it has not been added. Props Nazgul. fixes #3200

git-svn-id: https://develop.svn.wordpress.org/trunk@4448 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Mark Jaquith 2006-11-04 07:00:29 +00:00
parent e2fb86e7bc
commit e32f28e367
1 changed files with 1 additions and 1 deletions

View File

@ -17,7 +17,7 @@ if ( current_user_can( 'manage_categories' ) )
require('admin-header.php');
?>
<?php if ($_GET['added']) : ?>
<?php if ($_GET['added'] && '' != $_POST['link_name']) : ?>
<div id="message" class="updated fade"><p><?php _e('Link added.'); ?></p></div>
<?php endif; ?>