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']);
|
unset($subjectParams['author']);
|
||||||
}
|
}
|
||||||
$user = $this->userManager->get($author);
|
$user = $this->userManager->get($author);
|
||||||
|
$params = [];
|
||||||
if ($user !== null) {
|
if ($user !== null) {
|
||||||
$params = [
|
$params = [
|
||||||
'user' => [
|
'user' => [
|
||||||
|
|||||||
Reference in New Issue
Block a user