cvs: pear /DB_Table/DB Table.php /DB_Table/DB/Table QuickForm.php

From: Date: Thu, 27 Oct 2005 19:46:16 +0000
Subject: cvs: pear /DB_Table/DB Table.php /DB_Table/DB/Table QuickForm.php
Groups: php.pear.cvs 
Request: Send a blank email to pear-cvs+get-35907@lists.php.net to get a copy of this message
wiesemann Thu Oct 27 15:46:16 2005 EDT Modified files: /pear/DB_Table/DB Table.php /pear/DB_Table/DB/Table QuickForm.php Log: fixed some "undefined index" notices (or the reasons for them) http://cvs.php.net/diff.php/pear/DB_Table/DB/Table.php?r1=1.38&r2=1.39&ty=u Index: pear/DB_Table/DB/Table.php diff -u pear/DB_Table/DB/Table.php:1.38 pear/DB_Table/DB/Table.php:1.39 --- pear/DB_Table/DB/Table.php:1.38 Thu Oct 27 13:53:46 2005 +++ pear/DB_Table/DB/Table.php Thu Oct 27 15:46:11 2005 @@ -19,7 +19,7 @@ * * @license http://www.gnu.org/copyleft/lesser.html LGPL * -* @version $Id: Table.php,v 1.38 2005/10/27 17:53:46 wiesemann Exp $ +* @version $Id: Table.php,v 1.39 2005/10/27 19:46:11 wiesemann Exp $ * */ @@ -2079,6 +2079,7 @@ { include_once 'DB/Table/QuickForm.php'; $coldef = $this->_getFormColDefs($column); + DB_Table_QuickForm::fixColDef($coldef[$column], $elemname); $element =& DB_Table_QuickForm::getElement($coldef[$column], $elemname); return $element; http://cvs.php.net/diff.php/pear/DB_Table/DB/Table/QuickForm.php?r1=1.28&r2=1.29&ty=u Index: pear/DB_Table/DB/Table/QuickForm.php diff -u pear/DB_Table/DB/Table/QuickForm.php:1.28 pear/DB_Table/DB/Table/QuickForm.php:1.29 --- pear/DB_Table/DB/Table/QuickForm.php:1.28 Tue Sep 13 10:46:08 2005 +++ pear/DB_Table/DB/Table/QuickForm.php Thu Oct 27 15:46:15 2005 @@ -12,7 +12,7 @@ * * @license http://www.gnu.org/copyleft/lesser.html LGPL * -* @version $Id: QuickForm.php,v 1.28 2005/09/13 14:46:08 wiesemann Exp $ +* @version $Id: QuickForm.php,v 1.29 2005/10/27 19:46:15 wiesemann Exp $ * */ @@ -910,7 +910,7 @@ 'single', 'double'); // the element is numeric - if (! isset($col['qf_rules']['numeric']) && + if (! isset($col['qf_rules']['numeric']) && isset($col['type']) && in_array($col['type'], $numeric)) { $col['qf_rules']['numeric'] = sprintf(

« previous php.pear.cvs (#35907) next »