projects
/
pear
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aa47f95
)
fix compatibility with latest versions of PHP
author
Alan Knowles
<alan@roojs.com>
Wed, 6 Nov 2019 02:12:59 +0000
(10:12 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 6 Nov 2019 02:12:59 +0000
(10:12 +0800)
DB/DataObject.php
patch
|
blob
|
history
diff --git
a/DB/DataObject.php
b/DB/DataObject.php
index
53e3f0f
..
5d16559
100644
(file)
--- a/
DB/DataObject.php
+++ b/
DB/DataObject.php
@@
-4379,10
+4379,10
@@
class DB_DataObject extends DB_DataObject_Overload
// todo: date time.....
case ($val & DB_DATAOBJECT_STR):
$ret[$key] = Validate::string($this->$key, VALIDATE_PUNCTUATION . VALIDATE_NAME);
- continue;
+ continue
2
;
case ($val & DB_DATAOBJECT_INT):
$ret[$key] = Validate::number($this->$key, array('decimal'=>'.'));
- continue;
+ continue
2
;
}
}
// if any of the results are false or an object (eg. PEAR_Error).. then return the array..