Remove redundant check. Props Mittineague. fixes #3665

git-svn-id: http://svn.automattic.com/wordpress/trunk@4801 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2007-01-25 02:03:55 +00:00
parent 33d8407781
commit 858ba5eaa8
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ if (empty($title) && empty($tb_url) && empty($blog_name)) {
exit; exit;
} }
if ( !empty($tb_url) && !empty($title) && !empty($tb_url) ) { if ( !empty($tb_url) && !empty($title) ) {
header('Content-Type: text/xml; charset=' . get_option('blog_charset') ); header('Content-Type: text/xml; charset=' . get_option('blog_charset') );
$pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $tb_id"); $pingstatus = $wpdb->get_var("SELECT ping_status FROM $wpdb->posts WHERE ID = $tb_id");