fix listener issue

This commit is contained in:
raishvaria
2019-12-04 12:32:26 +05:30
parent c90c14312a
commit 36242c516a

View File

@ -15,7 +15,7 @@ class Listener
protected function isListenerFired($event) protected function isListenerFired($event)
{ {
// Do not apply to the same or newer versions // Do not apply to the same or newer versions
if (version_compare(static::VERSION, $event->old, '<')) { if (version_compare(static::VERSION, $event->old, '<=')) {
return true; return true;
} }