From: <ki...@us...> - 2007-03-03 19:10:14
|
Revision: 12296 http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=12296&view=rev Author: kink Date: 2007-03-03 11:10:09 -0800 (Sat, 03 Mar 2007) Log Message: ----------- set $identity to 0 when user does not use identities. Thanks Tomas Kuliavas Modified Paths: -------------- branches/SM-1_4-STABLE/squirrelmail/src/compose.php Modified: branches/SM-1_4-STABLE/squirrelmail/src/compose.php =================================================================== --- branches/SM-1_4-STABLE/squirrelmail/src/compose.php 2007-03-03 18:45:08 UTC (rev 12295) +++ branches/SM-1_4-STABLE/squirrelmail/src/compose.php 2007-03-03 19:10:09 UTC (rev 12296) @@ -53,7 +53,9 @@ sqgetGlobalVar('smaction',$action); sqgetGlobalVar('session',$session); sqgetGlobalVar('mailbox',$mailbox); -sqgetGlobalVar('identity',$identity); +if ( !sqgetGlobalVar('identity',$identity) ) { + $identity = 0; +} sqgetGlobalVar('send_to',$send_to); sqgetGlobalVar('send_to_cc',$send_to_cc); sqgetGlobalVar('send_to_bcc',$send_to_bcc); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |