Commit 013bdebe authored by zYne's avatar zYne

--no commit message

--no commit message
parent 1c919c7a
...@@ -65,6 +65,7 @@ class Doctrine_Hook ...@@ -65,6 +65,7 @@ class Doctrine_Hook
'string' => 'Doctrine_Hook_WordLike', 'string' => 'Doctrine_Hook_WordLike',
'varchar' => 'Doctrine_Hook_WordLike', 'varchar' => 'Doctrine_Hook_WordLike',
'integer' => 'Doctrine_Hook_Integer', 'integer' => 'Doctrine_Hook_Integer',
'enum' => 'Doctrine_Hook_Integer',
'time' => 'Doctrine_Hook_Time', 'time' => 'Doctrine_Hook_Time',
'date' => 'Doctrine_Hook_Date', 'date' => 'Doctrine_Hook_Date',
); );
...@@ -128,6 +129,9 @@ class Doctrine_Hook ...@@ -128,6 +129,9 @@ class Doctrine_Hook
return false; return false;
} }
foreach ($params as $name => $value) { foreach ($params as $name => $value) {
if ($value === '' || $value === '-') {
continue;
}
$e = explode('.', $name); $e = explode('.', $name);
if (count($e) == 2) { if (count($e) == 2) {
......
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