cvs: pear /MDB2_Schema/MDB2/Schema Validate.php
| From: | Lukas Smith | Date: | Sun, 20 Aug 2006 19:52:06 +0000 |
| Subject: | cvs: pear /MDB2_Schema/MDB2/Schema Validate.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-41768@lists.php.net to get a copy of this message | ||
lsmith Sun Aug 20 19:52:06 2006 UTC
Modified files:
/pear/MDB2_Schema/MDB2/Schema Validate.php
Log:
- typo fix
http://cvs.php.net/viewvc.cgi/pear/MDB2_Schema/MDB2/Schema/Validate.php?r1=1.14&r2=1.15&diff_format=u
Index: pear/MDB2_Schema/MDB2/Schema/Validate.php
diff -u pear/MDB2_Schema/MDB2/Schema/Validate.php:1.14
pear/MDB2_Schema/MDB2/Schema/Validate.php:1.15
--- pear/MDB2_Schema/MDB2/Schema/Validate.php:1.14 Sun Aug 20 12:11:07 2006
+++ pear/MDB2_Schema/MDB2/Schema/Validate.php Sun Aug 20 19:52:05 2006
@@ -43,7 +43,7 @@
// | Author: Igor Feghali <ifeghali@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Validate.php,v 1.14 2006/08/20 12:11:07 ifeghali Exp $
+// $Id: Validate.php,v 1.15 2006/08/20 19:52:05 lsmith Exp $
//
/**
@@ -335,7 +335,7 @@
$fields[$field_name] = $field;
if (isset($field['default'])
- && !$this->validateFieldValue($fields, $field_name,
$fields[$field_name]['default'])
+ && !$this->validateDataFieldValue($fields, $field_name,
$fields[$field_name]['default'])
) {
return $this->raiseError(MDB2_SCHEMA_ERROR_VALIDATE_INVALID_DEFAULT,
'default value of "'.$field_name.'" is of wrong
type');