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:
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user