cvs: pear /DBA DBA_Toolbox.php
| From: | Brent Cook | Date: | Mon, 26 Aug 2002 18:06:30 +0000 |
| Subject: | cvs: pear /DBA DBA_Toolbox.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-5992@lists.php.net to get a copy of this message | ||
busterb Mon Aug 26 14:06:30 2002 EDT
Modified files:
/pear/DBA DBA_Toolbox.php
Log:
fixed bug with auxMeta in addQuickformDBA
Index: pear/DBA/DBA_Toolbox.php
diff -u pear/DBA/DBA_Toolbox.php:1.6 pear/DBA/DBA_Toolbox.php:1.7
--- pear/DBA/DBA_Toolbox.php:1.6 Wed Jul 17 12:57:20 2002
+++ pear/DBA/DBA_Toolbox.php Mon Aug 26 14:06:30 2002
@@ -18,7 +18,7 @@
// | Foundation, Inc., 59 Temple Place, Suite 330,Boston,MA 02111-1307 USA|
// +----------------------------------------------------------------------+
//
-// $Id: DBA_Toolbox.php,v 1.6 2002/07/17 16:57:20 busterb Exp $
+// $Id: DBA_Toolbox.php,v 1.7 2002/08/26 18:06:30 busterb Exp $
//
require_once 'PEAR.php';
@@ -38,7 +38,8 @@
$defaults[$name] = $auxMeta['default'];
}
if (isset($auxMeta[$name])) {
- $desc = isset($auxMeta['desc']) ? $auxMeta['desc'] : $name;
+ $desc = isset($auxMeta[$name]['desc']) ?
+ $auxMeta[$name]['desc'] : $name;
switch($meta[DBA_TYPE]) {
case DBA_INTEGER:
if (isset($auxMeta[$name]['min']) &&