1 parent
a3572063d2
commit
32f300af7f
1 file changed
+4
@@ -102,6 +102,10 @@ class Laps {
|
|||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
if ( 'stop' === $event['action'] && ! self::$stopwatch->isStarted( $event['event'] ) ) {
|
||||||
|
return $input;
|
||||||
|
}
|
||||||
|
|
||||||
self::$stopwatch->$event['action']( $event['event'], $event['category'] );
|
self::$stopwatch->$event['action']( $event['event'], $event['category'] );
|
||||||
|
|
||||||
return $input;
|
return $input;
|
||||||
|
|||||||
Reference in new issue
Block a user