mirror of
https://github.com/vichan-devel/vichan.git
synced 2024-11-26 08:20:58 +01:00
add column to listBoards
This commit is contained in:
parent
3301548eee
commit
b448fac149
@ -573,7 +573,7 @@ function listBoards() {
|
||||
if ($config['cache']['enabled'] && ($boards = cache::get('all_boards')))
|
||||
return $boards;
|
||||
|
||||
$query = query("SELECT * FROM ``boards`` LEFT JOIN ``board_create`` ON ``boards``.`uri` = ``board_create``.`uri` ORDER BY ``boards``.`uri`") or error(db_error());
|
||||
$query = query("SELECT ``boards``.`uri` uri, ``boards``.`title` title, ``boards``.`subtitle` subtitle, ``board_create``.`time` time FROM ``boards`` LEFT JOIN ``board_create`` ON ``boards``.`uri` = ``board_create``.`uri` ORDER BY ``boards``.`uri`") or error(db_error());
|
||||
$boards = $query->fetchAll();
|
||||
|
||||
if ($config['cache']['enabled'])
|
||||
|
Loading…
Reference in New Issue
Block a user