[PEAR DB_DataObject] Removed DB_DATAOBJECT_NO_OVERLOAD as we don't have support for either PHP 4 or 5

This commit is contained in:
Diogo Cordeiro
2019-11-02 00:26:25 +00:00
committed by Diogo Peralta Cordeiro
parent b19da881c7
commit 4dbc8d1233
3 changed files with 33 additions and 55 deletions

View File

@@ -970,7 +970,7 @@ class Memcached_DataObject extends Safe_DataObject
if (is_object($v) && $v instanceof DB_DataObject_Cast) {
switch ($v->type) {
case 'date':
$vstr = $v->year . '-' . $v->month . '-' . $v->day;
$vstr = "{$v->year} - {$v->month} - {$v->day}";
break;
case 'blob':
case 'string':