Browse Source

Merge pull request #308 from igorw/patch-1

Fix if in SoftDeleteableFilter
Gediminas Morkevicius 13 years ago
parent
commit
69a4d431d1
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!');
             }
         }