"fixed date-type problem in restore reported on the german list"

This commit is contained in:
Ralf Becker 2007-07-03 08:21:29 +00:00
parent c452b9f1c1
commit c4a17cf53f

View File

@ -302,7 +302,7 @@
} }
$arr[$key] = str_replace(BACKSLASH_TOKEN,'\\',str_replace(array('\\\\','\\n','\\r','\\"'),array(BACKSLASH_TOKEN,"\n","\r",'"'),substr($field,1,-1))); $arr[$key] = str_replace(BACKSLASH_TOKEN,'\\',str_replace(array('\\\\','\\n','\\r','\\"'),array(BACKSLASH_TOKEN,"\n","\r",'"'),substr($field,1,-1)));
} }
elseif ($keys && (strlen($field) > 64 || !is_numeric($field) && $field != 'NULL')) elseif ($keys && strlen($field) > 24)
{ {
$arr[$key] = base64_decode($field); $arr[$key] = base64_decode($field);
} }