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

List:       squirrelmail-cvs
Subject:    [SM-CVS] SF.net SVN: squirrelmail: [12973]
From:       pdontthink () users ! sourceforge ! net
Date:       2008-02-28 5:28:40
Message-ID: E1JUbJw-0006mV-UV () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]

Revision: 12973
          http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=12973&view=rev
Author:   pdontthink
Date:     2008-02-27 21:28:40 -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-27 17:15:02 UTC \
                (rev 12972)
+++ branches/SM-1_4-STABLE/squirrelmail/functions/options.php	2008-02-28 05:28:40 UTC \
(rev 12973) @@ -598,6 +598,7 @@
     if ($option->type == SMOPT_TYPE_EDIT_LIST) {
 
         if (empty($option->possible_values)) $option->possible_values = array();
+        if (!is_array($option->possible_values)) $option->possible_values = \
array($option->possible_values);  
         // add element if given
         //


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