Wrong var name.

git-svn-id: https://develop.svn.wordpress.org/trunk@3177 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren 2005-11-21 08:25:50 +00:00
parent 5f54b206a7
commit 0872d8f9d7
1 changed files with 1 additions and 1 deletions

View File

@ -414,7 +414,7 @@ function __get_option($setting) {
$option = $wpdb->get_var("SELECT option_value FROM $wpdb->options WHERE option_name = '$setting'");
if ( 'home' == $setting && '' == $value )
if ( 'home' == $setting && '' == $option )
return __get_option('siteurl');
if ( 'siteurl' == $setting || 'home' == $setting || 'category_base' == $setting )