mirror of
https://git.friendi.ca/friendica/friendica-addons.git
synced 2024-12-22 14:50:21 +00:00
fix errors in ratioed addon
This commit is contained in:
parent
bda683c56b
commit
5b623c8368
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ class RatioedPanel extends Active
|
|||
|
||||
$action = $this->parameters['action'] ?? '';
|
||||
$uid = $this->parameters['uid'] ?? 0;
|
||||
$user = [];
|
||||
|
||||
if ($uid) {
|
||||
$user = User::getById($uid, ['username', 'blocked']);
|
||||
|
|
Loading…
Reference in a new issue