summaryrefslogtreecommitdiffstats
path: root/wp-admin/options.php
diff options
context:
space:
mode:
authordonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-12 19:10:53 +0000
committerdonncha <donncha@7be80a69-a1ef-0310-a953-fb0f7c49ff36>2006-07-12 19:10:53 +0000
commit8db6720bcb3198f1160ba168977ab35345acb7f0 (patch)
tree67479c95f987dddc1382c62de55bf279fdd8a544 /wp-admin/options.php
parentb991d94d25cd7ea42468d7e4dfacbe3049f11195 (diff)
downloadwordpress-mu-8db6720bcb3198f1160ba168977ab35345acb7f0.tar.gz
wordpress-mu-8db6720bcb3198f1160ba168977ab35345acb7f0.tar.xz
wordpress-mu-8db6720bcb3198f1160ba168977ab35345acb7f0.zip
Make sure to check the right $value (#78)
git-svn-id: http://svn.automattic.com/wordpress-mu/trunk@669 7be80a69-a1ef-0310-a953-fb0f7c49ff36
Diffstat (limited to 'wp-admin/options.php')
-rw-r--r--wp-admin/options.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/wp-admin/options.php b/wp-admin/options.php
index 6143a01..17c0d70 100644
--- a/wp-admin/options.php
+++ b/wp-admin/options.php
@@ -55,7 +55,7 @@ case 'update':
if( $option == 'posts_per_page' && $value == '' )
$value = 10;
- if( $option == 'new_admin_email' && $value != get_option( 'admin_email' ) && is_email( $val ) ) {
+ if( $option == 'new_admin_email' && $value != get_option( 'admin_email' ) && is_email( $value ) ) {
$hash = md5( $value.time().mt_rand() );
$newadminemail = array(
"hash" => $hash,