diff --git a/src/Model/Translatable/TranslationMethods.php b/src/Model/Translatable/TranslationMethods.php index a280afca..8e2ce22e 100644 --- a/src/Model/Translatable/TranslationMethods.php +++ b/src/Model/Translatable/TranslationMethods.php @@ -93,6 +93,13 @@ public function getLocale() */ public function isEmpty() { - return false; + foreach (get_object_vars($this) as $var => $value) { + if (in_array($var, array('id', 'translatable', 'locale'))) + continue; + + if (!empty($value)) + return false; + } + return true; } }