Markread #12

マージ済み
TechnicalSuwako が 1 個のコミットを markread から master へマージ 2018-04-26 18:05:23 +09:00
1個のファイルの変更6行の追加2行の削除

ファイルの表示

@ -290,18 +290,22 @@ class BoardController extends Controller {
$forS = array();
foreach($for as $f) {
$read = $this->checkRead($f->fid, 0, $request->username, $request->password);
$forS[] = array(
'id' => $f->fid,
'type' => 'forum',
'title' => $f->fctitle.'/'.$f->ftitle
'title' => $f->fctitle.'/'.$f->ftitle,
'read' => $read
);
}
foreach($top as $t) {
$read = $this->checkRead(0, $t->tid, $request->username, $request->password);
$forS[] = array(
'id' => $t->tid,
'type' => 'topic',
'title' => $t->ttitle
'title' => $t->ttitle,
'read' => $read
);
}