fixed some mistakes

This commit is contained in:
2019-09-24 16:37:00 +02:00
parent f84f283e8e
commit bf27d735fe
6 changed files with 9 additions and 10 deletions

View File

@@ -2,6 +2,6 @@
require_once ROOT_DIR.'/model/forum/Thread.php';
require_once ROOT_DIR.'/model/forum/User.php';
foreach (MVCController::$viewData['boards'] as $board){
include '/view/webcontent/modules/modules_boards/module_boardtable.php';
include ROOT_DIR.'/view/webcontent/modules/modules_boards/module_boardtable.php';
}
?>

View File

@@ -6,7 +6,7 @@
<th width=10%>Started by</th>
<th width=15%>Last reply</th>
</tr>
<?php
<?php
foreach (MVCController::$viewData['threads'] as $thread){
if($thread->getBoardID() == $board->id){
$currentRow = [];