Markread #12
|
@ -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
|
||||
);
|
||||
}
|
||||
|
||||
|
|
新しいイシューから参照