Browse Source

Fix if in SoftDeleteableFilter

Igor Wiedler 13 years ago
parent
commit
0c2be4b243
1 changed files with 1 additions and 1 deletions
  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!');
             }
         }