Typo
[squirrelmail.git] / src / options.php
index 4350c59e8271aedda5253e26ae1a00300375e142..480dde5ce0d2c3d01fd177205b991eb7d870e344 100644 (file)
@@ -427,7 +427,7 @@ if ($optpage == SMOPT_PAGE_MAIN) {
     $oTemplate->assign('options', $optpage_data['options']);
     
     global $ask_user_info, $org_name;
     $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) );
             && getPref($data_dir, $username,'email_address') == "" ) {
         $oTemplate->assign('topmessage',
             sprintf(_("Welcome to %s. Please supply your full name and email address."), $org_name) );