cvs: pear /DB_DataObject_FormBuilder/FormBuilder QuickForm.php
| From: | Justin Patrin | Date: | Wed, 21 Jun 2006 16:14:22 +0000 |
| Subject: | cvs: pear /DB_DataObject_FormBuilder/FormBuilder QuickForm.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-40858@lists.php.net to get a copy of this message | ||
justinpatrin Wed Jun 21 16:14:22 2006 UTC
Modified files:
/pear/DB_DataObject_FormBuilder/FormBuilder QuickForm.php
Log:
Fix undefined references to $fb
http://cvs.php.net/viewvc.cgi/pear/DB_DataObject_FormBuilder/FormBuilder/QuickForm.php?r1=1.68&r2=1.69&diff_format=u
Index: pear/DB_DataObject_FormBuilder/FormBuilder/QuickForm.php
diff -u pear/DB_DataObject_FormBuilder/FormBuilder/QuickForm.php:1.68
pear/DB_DataObject_FormBuilder/FormBuilder/QuickForm.php:1.69
--- pear/DB_DataObject_FormBuilder/FormBuilder/QuickForm.php:1.68 Tue Jun 6 15:08:24 2006
+++ pear/DB_DataObject_FormBuilder/FormBuilder/QuickForm.php Wed Jun 21 16:14:22 2006
@@ -11,7 +11,7 @@
* @license http://www.php.net/license/3_0.txt
PHP License 3.0
* @author Markus Wolff <mw21st@php.net>
* @author Justin Patrin <papercrane@reversefold.com>
- * @version $Id: QuickForm.php,v 1.68 2006/06/06 15:08:24 justinpatrin Exp $
+ * @version $Id: QuickForm.php,v 1.69 2006/06/21 16:14:22 justinpatrin Exp $
*/
require_once ('HTML/QuickForm.php');
@@ -650,7 +650,7 @@
if ($this->_fb->isCallableAndExists($this->dateOptionsCallback)) {
$dateOptions = array_merge($dateOptions,
call_user_func_array($this->dateOptionsCallback,
- array($fieldName, &$fb)));
+ array($fieldName,
&$this->_fb)));
}
if (!isset($dateOptions['addEmptyOption']) && in_array($fieldName,
$this->_fb->selectAddEmpty)) {
$dateOptions['addEmptyOption'] = true;
@@ -684,7 +684,7 @@
if ($this->_fb->isCallableAndExists($this->timeOptionsCallback)) {
$timeOptions = array_merge($timeOptions,
call_user_func_array($this->timeOptionsCallback,
- array($fieldName, &$fb)));
+ array($fieldName,
&$this->_fb)));
}
if (!isset($timeOptions['addEmptyOption']) && in_array($fieldName,
$this->_fb->selectAddEmpty)) {
$timeOptions['addEmptyOption'] = true;
@@ -716,7 +716,7 @@
if ($this->_fb->isCallableAndExists($this->dateTimeOptionsCallback)) {
$dateOptions = array_merge($dateOptions,
call_user_func_array($this->dateTimeOptionsCallback,
- array($fieldName, &$fb)));
+ array($fieldName,
&$this->_fb)));
}
if (!isset($dateOptions['addEmptyOption']) && in_array($fieldName,
$this->_fb->selectAddEmpty)) {
$dateOptions['addEmptyOption'] = true;