Skip to content

Commit ca6e01d

Browse files
authored
Merge pull request #2358 from nextcloud/bugfix/2344
Properly check if FTSEvent has an argument set
2 parents 3336225 + a69fd53 commit ca6e01d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/Event/FTSEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public function __construct($subject, $arguments = []) {
4242
}
4343

4444
public function getArgument($key) {
45-
if ($this->hasArgument($key)) {
45+
if (isset($this->arguments[$key])) {
4646
return $this->arguments[$key];
4747
}
4848

0 commit comments

Comments
 (0)