From 251a5ba13a4436c527b98949e490cbdc02e9ec8d Mon Sep 17 00:00:00 2001 From: flashwave Date: Mon, 30 Mar 2015 18:52:59 +0200 Subject: [PATCH] i suck --- _sakura/components/Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_sakura/components/Main.php b/_sakura/components/Main.php index 81b1b83..16f2d11 100644 --- a/_sakura/components/Main.php +++ b/_sakura/components/Main.php @@ -153,7 +153,7 @@ class Main { // Get user data foreach($newsPosts as $newsId => $newsPost) { $newsPosts[$newsId]['udata'] = Users::getUser($newsPost['uid']); - $newsPosts[$newsId]['gdata'] = Users::getGroup($newsPost['udata']['group_main']); + $newsPosts[$newsId]['gdata'] = Users::getGroup($newsPosts[$newsId]['udata']['group_main']); } // Return posts