[dev] [patch] little fix for lib/Form.php
Jason M. Felice
jfelice at cronosys.com
Sun Nov 23 21:48:55 PST 2003
The patch should be self-explanatory. It fixes a new warning in Hermes.
--
Jason M. Felice
Cronosys, LLC <http://www.cronosys.com/>
216.221.4600 x302
-------------- next part --------------
Index: lib/Form.php
===================================================================
RCS file: /repository/horde/lib/Form.php,v
retrieving revision 1.191
diff -u -r1.191 Form.php
--- lib/Form.php 23 Nov 2003 16:32:44 -0000 1.191
+++ lib/Form.php 24 Nov 2003 05:48:21 -0000
@@ -1168,6 +1168,8 @@
{
if (empty($option)) {
return !empty($this->_helper);
+ } elseif (empty($this->_helper)) {
+ return false;
} else {
return in_array($option, $this->_helper);
}
More information about the dev
mailing list