Browse Source

Merge branch 'trunk'

Andy 1 năm trước cách đây
mục cha
commit
76dacfbf8c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      src/options.php

+ 1 - 1
src/options.php

@@ -70,7 +70,7 @@ function process_optionmode_submit($optpage, $optpage_data) {
             /* Special case: need to make sure emailaddress
              * is saved if we use it as a test for ask_user_info */
             global $ask_user_info;
-            if ( $optpage = SMOPT_PAGE_PERSONAL && $ask_user_info &&
+            if ( $optpage == SMOPT_PAGE_PERSONAL && $ask_user_info &&
                 $option->name == 'email_address' ) {
                 $option->setValue('');
             }