Skip to content
Snippets Groups Projects
Commit e57e7539 authored by Tomáš Valenta's avatar Tomáš Valenta
Browse files

provide forum info

parent 1eaa8009
No related branches found
No related tags found
No related merge requests found
......@@ -148,7 +148,7 @@ class Forums
$forum = array();
while ($row => $db->sql_fetchrow($forum_query)) {
while ($row = $db->sql_fetchrow($forum_query)) {
$forum["name"] = $row["forum_name"];
$forum["desc"] = $row["forum_desc"];
}
......@@ -156,7 +156,7 @@ class Forums
return new JsonResponse(
array(
"forum" => $forum,
"topics" => $topics
"topics" => $topics,
),
200
);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment