]> git.mxchange.org Git - friendica-addons.git/commitdiff
fix errors in ratioed addon
authorArt4 <art4@wlabs.de>
Sat, 30 Nov 2024 20:13:41 +0000 (20:13 +0000)
committerHypolite Petovan <hypolite@mrpetovan.com>
Thu, 12 Dec 2024 21:37:42 +0000 (22:37 +0100)
ratioed/RatioedPanel.php

index e25c7f341eb2ac06f97add75b35237afa630d053..bd9b44dcd09f18ce2cd8d24f346f6bcfce0a18f9 100644 (file)
@@ -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']);