Perform empty() check on $doing_trackback. Bug 426.

git-svn-id: http://svn.automattic.com/wordpress/trunk@1918 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rboren 2004-12-08 01:00:12 +00:00
parent a2b6757246
commit 4926900b83
1 changed files with 2 additions and 2 deletions

View File

@ -17,8 +17,8 @@ if (!get_magic_quotes_gpc()) {
$_COOKIE = add_magic_quotes($_COOKIE);
}
if ( !$doing_trackback) {
$doing_trackback = 1;
if (empty($doing_trackback)) {
$doing_trackback = true;
require('wp-blog-header.php');
}