From: <pdo...@us...> - 2023-08-24 22:21:38
|
Revision: 14996 http://sourceforge.net/p/squirrelmail/code/14996 Author: pdontthink Date: 2023-08-24 22:21:36 +0000 (Thu, 24 Aug 2023) Log Message: ----------- Test option page name, don't assign it Modified Paths: -------------- trunk/squirrelmail/src/options.php Modified: trunk/squirrelmail/src/options.php =================================================================== --- trunk/squirrelmail/src/options.php 2023-08-24 22:06:59 UTC (rev 14995) +++ trunk/squirrelmail/src/options.php 2023-08-24 22:21:36 UTC (rev 14996) @@ -70,7 +70,7 @@ /* 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(''); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |