Properly check if FTSEvent has an argument set

Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
Julius Härtl
2020-10-06 08:10:17 +02:00
committed by backportbot[bot]
parent 6ac8cafd46
commit 516b15d3a1

View File

@@ -42,7 +42,7 @@ class FTSEvent extends Event {
}
public function getArgument($key) {
if ($this->hasArgument($key)) {
if (isset($this->arguments[$key])) {
return $this->arguments[$key];
}