Explorar o código

Merge pull request #308 from igorw/patch-1

Fix if in SoftDeleteableFilter
Gediminas Morkevicius %!s(int64=13) %!d(string=hai) anos
pai
achega
69a4d431d1
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/Gedmo/SoftDeleteable/Filter/SoftDeleteableFilter.php

+ 1 - 1
lib/Gedmo/SoftDeleteable/Filter/SoftDeleteableFilter.php

@@ -52,7 +52,7 @@ class SoftDeleteableFilter extends SQLFilter
                 }
             }
 
-            if (!$this->listener === null) {
+            if ($this->listener === null) {
                 throw new \RuntimeException('Listener "SoftDeleteableListener" was not added to the EventManager!');
             }
         }