Merge pull request #2395 from nextcloud/backport/2358/stable1.1

[stable1.1] Properly check if FTSEvent has an argument set
This commit is contained in:
Julius Härtl
2020-10-07 23:06:19 +02:00
committed by GitHub

View File

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