Browse Source

small fix

gediminasm 14 năm trước cách đây
mục cha
commit
5ddc788d6d
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      lib/Gedmo/Translatable/TranslationListener.php

+ 1 - 1
lib/Gedmo/Translatable/TranslationListener.php

@@ -185,7 +185,7 @@ class TranslationListener implements EventSubscriber
     {
         return isset($this->_configurations[$class]['translationClass']) ?
             $this->_configurations[$class]['translationClass'] : 
-            self::TRANSLATION_ENTITY_CLASS;
+            $this->_defaultTranslationEntity;
     }
     
     /**