logo       
Google Custom Search
    AddThis Social Bookmark Button
-->

CVS: squirrelmail/src signout.php,1.66.2.8,1.66.2.9: msg#00228

Subject: CVS: squirrelmail/src signout.php,1.66.2.8,1.66.2.9
Update of /cvsroot/squirrelmail/squirrelmail/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv22449/src

Modified Files:
      Tag: SM-1_4-STABLE
        signout.php 
Log Message:
Error when you never hit compose, and then signout.




Index: signout.php
===================================================================
RCS file: /cvsroot/squirrelmail/squirrelmail/src/signout.php,v
retrieving revision 1.66.2.8
retrieving revision 1.66.2.9
diff -u -w -r1.66.2.8 -r1.66.2.9
--- signout.php 21 Nov 2005 20:28:33 -0000      1.66.2.8
+++ signout.php 22 Nov 2005 04:43:40 -0000      1.66.2.9
@@ -26,9 +26,11 @@
 
 /* Erase any lingering attachments */
 sqgetGlobalVar('compose_messages',  $compose_messages,  SQ_SESSION);
+if (!empty($compose_messages) && is_array($compose_messages)) {
 foreach($compose_messages as $composeMessage) {
     $composeMessage->purgeAttachments();
 }
+}
 
 if (!isset($frame_top)) {
     $frame_top = '_top';



-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc.  Get Certified Today
Register for a JBoss Training Course.  Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click


<Prev in Thread] Current Thread [Next in Thread>