fix errors in ratioed addon

pull/1579/head
Art4 2024-11-30 20:13:41 +00:00
parent 43ee267d38
commit fccf361ef1
1 changed files with 1 additions and 0 deletions

View File

@ -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']);