cvs: pear /HTML_QuickForm QuickForm.php
| From: | Bertrand Mansion | Date: | Mon, 10 Jun 2002 15:13:09 +0000 |
| Subject: | cvs: pear /HTML_QuickForm QuickForm.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4530@lists.php.net to get a copy of this message | ||
mansion Mon Jun 10 11:13:09 2002 EDT
Modified files:
/pear/HTML_QuickForm QuickForm.php
Log:
typo
Index: pear/HTML_QuickForm/QuickForm.php
diff -u pear/HTML_QuickForm/QuickForm.php:1.23 pear/HTML_QuickForm/QuickForm.php:1.24
--- pear/HTML_QuickForm/QuickForm.php:1.23 Fri Jun 7 19:56:28 2002
+++ pear/HTML_QuickForm/QuickForm.php Mon Jun 10 11:13:08 2002
@@ -17,7 +17,7 @@
// | Bertrand Mansion <bmansion@mamasam.com> |
// +----------------------------------------------------------------------+
//
-// $Id: QuickForm.php,v 1.23 2002/06/07 23:56:28 jrust Exp $
+// $Id: QuickForm.php,v 1.24 2002/06/10 15:13:08 mansion Exp $
require_once("PEAR.php");
require_once("HTML/Common.php");
@@ -514,7 +514,7 @@
{
$type = strtolower($type);
if (!HTML_QuickForm::isTypeRegistered($type)) {
- return PEAR::raiseError(null, QUICKFORM_UNREGISTERED_ELEMENT, null, E_USER_WARNING,
"Element '$element' does not exist in HTML_QuickForm::_loadElement()",
'HTML_QuickForm_Error', true);
+ return PEAR::raiseError(null, QUICKFORM_UNREGISTERED_ELEMENT, null, E_USER_WARNING,
"Element '$type' does not exist in HTML_QuickForm::_loadElement()",
'HTML_QuickForm_Error', true);
}
$className = $GLOBALS['HTML_QUICKFORM_ELEMENT_TYPES'][$type][1];
$includeFile = $GLOBALS['HTML_QUICKFORM_ELEMENT_TYPES'][$type][0];