Browse Source

Merge pull request #308 from igorw/patch-1

Fix if in SoftDeleteableFilter
Gediminas Morkevicius 13 năm trước cách đây
mục cha
commit
69a4d431d1

+ 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!');
                 throw new \RuntimeException('Listener "SoftDeleteableListener" was not added to the EventManager!');
             }
             }
         }
         }