From 62186b5a469749e7671eaf32977ef3c15e081677 Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Fri, 3 Sep 2004 21:50:06 +0000 Subject: [PATCH] Fix variable name typo. Patch from MooKitty. git-svn-id: https://develop.svn.wordpress.org/trunk@1587 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/options.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-admin/options.php b/wp-admin/options.php index 217104d683..8067ec7d8d 100644 --- a/wp-admin/options.php +++ b/wp-admin/options.php @@ -83,7 +83,7 @@ $nonbools = array('default_ping_status', 'default_comment_status'); else $new_val = 0; } - if( in_array($option->option_name, $nonbools) && $new_val == 0 ) $new_value = 'closed'; + if( in_array($option->option_name, $nonbools) && $new_val == 0 ) $new_val = 'closed'; if ($new_val !== $old_val) { $query = "UPDATE $wpdb->options SET option_value = '$new_val' WHERE option_name = '$option->option_name'"; $result = $wpdb->query($query);