mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
fix listener issue
This commit is contained in:
@ -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;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user