Merge pull request #2358 from nextcloud/bugfix/2344

Properly check if FTSEvent has an argument set
This commit is contained in:
Julius Härtl
2020-10-07 16:46:41 +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];
} }