i suck
This commit is contained in:
parent
a7475765e5
commit
251a5ba13a
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Reference in a new issue