diff --git a/src/class-laps.php b/src/class-laps.php index 37089a5..0aa9834 100644 --- a/src/class-laps.php +++ b/src/class-laps.php @@ -106,7 +106,7 @@ class Laps { return $input; } - self::$stopwatch->$event['action']( $event['event'], $event['category'] ); + self::$stopwatch->{$event['action']}( $event['event'], $event['category'] ); return $input; }