fix errors in ratioed addon
parent
bda683c56b
commit
5b623c8368
|
@ -26,6 +26,7 @@ class RatioedPanel extends Active
|
||||||
|
|
||||||
$action = $this->parameters['action'] ?? '';
|
$action = $this->parameters['action'] ?? '';
|
||||||
$uid = $this->parameters['uid'] ?? 0;
|
$uid = $this->parameters['uid'] ?? 0;
|
||||||
|
$user = [];
|
||||||
|
|
||||||
if ($uid) {
|
if ($uid) {
|
||||||
$user = User::getById($uid, ['username', 'blocked']);
|
$user = User::getById($uid, ['username', 'blocked']);
|
||||||
|
|
Loading…
Reference in New Issue