pdontthink 18 年之前
父节点
当前提交
14b2a33f5a
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/options.php

+ 1 - 1
src/options.php

@@ -427,7 +427,7 @@ if ($optpage == SMOPT_PAGE_MAIN) {
     $oTemplate->assign('options', $optpage_data['options']);
     
     global $ask_user_info, $org_name;
-    if ( $optpage = SMOPT_PAGE_PERSONAL && $ask_user_info
+    if ( $optpage == SMOPT_PAGE_PERSONAL && $ask_user_info
             && getPref($data_dir, $username,'email_address') == "" ) {
         $oTemplate->assign('topmessage',
             sprintf(_("Welcome to %s. Please supply your full name and email address."), $org_name) );