Commit 3214810e authored by romanb's avatar romanb

Temporary fix for #254 until there's a better solution available.

Ticket: 254
parent 239995d3
...@@ -182,7 +182,10 @@ class Doctrine_Validator ...@@ -182,7 +182,10 @@ class Doctrine_Validator
*/ */
private function validateLength($column, $key, $value) private function validateLength($column, $key, $value)
{ {
if ($column[0] == "array" || $column[0] == "object") { if($column[0] == "timestamp") {
return true;
}
else if ($column[0] == "array" || $column[0] == "object") {
$length = strlen(serialize($value)); $length = strlen(serialize($value));
} else { } else {
$length = strlen($value); $length = strlen($value);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment