[prev in list] [next in list] [prev in thread] [next in thread] 

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail: [12975]
From:       pdontthink () users ! sourceforge ! net
Date:       2008-02-28 6:33:41
Message-ID: E1JUcKr-0003Co-Bc () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

Revision: 12975
          http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=12975&view=rev
Author:   pdontthink
Date:     2008-02-27 22:33:41 -0800 (Wed, 27 Feb 2008)

Log Message:
-----------
Guarantee we have an array

Modified Paths:
--------------
    branches/SM-1_4-STABLE/squirrelmail/functions/options.php

Modified: branches/SM-1_4-STABLE/squirrelmail/functions/options.php
===================================================================
--- branches/SM-1_4-STABLE/squirrelmail/functions/options.php	2008-02-28 05:29:18 UTC \
                (rev 12974)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/options.php	2008-02-28 06:33:41 UTC \
(rev 12975) @@ -532,6 +532,7 @@
         // Add each possible value to the select list.
         //
         if (empty($this->possible_values)) $this->possible_values = array();
+        if (!is_array($this->possible_values)) $this->possible_values = \
array($this->possible_values);  foreach ($this->possible_values as $real_value => \
$disp_value) {  
             // Start the next new option string.


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
-----
squirrelmail-cvs mailing list
List address: squirrelmail-cvs@lists.sourceforge.net
List info (subscribe/unsubscribe/change options): \
                https://lists.sourceforge.net/lists/listinfo/squirrelmail-cvs
Repository: http://squirrelmail.org/svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic