Fix undefined variable params
Signed-off-by: Julius Härtl <jus@bitgrid.net>
This commit is contained in:
@@ -96,6 +96,7 @@ class DeckProvider implements IProvider {
|
||||
unset($subjectParams['author']);
|
||||
}
|
||||
$user = $this->userManager->get($author);
|
||||
$params = [];
|
||||
if ($user !== null) {
|
||||
$params = [
|
||||
'user' => [
|
||||
|
||||
Reference in New Issue
Block a user