[prev in list] [next in list] [prev in thread] [next in thread]
List: squirrelmail-cvs
Subject: [SM-CVS] SF.net SVN: squirrelmail: [12968]
From: pdontthink () users ! sourceforge ! net
Date: 2008-02-26 19:54:15
Message-ID: E1JU5sV-0000hD-I4 () sc8-pr-svn2 ! sourceforge ! net
[Download RAW message or body]
Revision: 12968
http://squirrelmail.svn.sourceforge.net/squirrelmail/?rev=12968&view=rev
Author: pdontthink
Date: 2008-02-26 11:54:15 -0800 (Tue, 26 Feb 2008)
Log Message:
-----------
Prevent PHP notices when possible values is not given
Modified Paths:
--------------
trunk/squirrelmail/functions/options.php
Modified: trunk/squirrelmail/functions/options.php
===================================================================
--- trunk/squirrelmail/functions/options.php 2008-02-26 19:14:46 UTC (rev 12967)
+++ trunk/squirrelmail/functions/options.php 2008-02-26 19:54:15 UTC (rev 12968)
@@ -590,6 +590,8 @@
$height = 5;
}
+ if (empty($this->possible_values)) $this->possible_values = array();
+
//FIXME: $this->aExtraAttribs probably should only be used in one place
$oTemplate->assign('input_widget', addInput('add_' . $this->name, '', 38, 0, \
$this->aExtraAttribs)); $oTemplate->assign('trailing_text', $this->trailing_text);
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