This commit is contained in:
flash 2015-03-30 18:52:59 +02:00
parent a7475765e5
commit 251a5ba13a

View file

@ -153,7 +153,7 @@ class Main {
// Get user data // Get user data
foreach($newsPosts as $newsId => $newsPost) { foreach($newsPosts as $newsId => $newsPost) {
$newsPosts[$newsId]['udata'] = Users::getUser($newsPost['uid']); $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 // Return posts