From b33e8cb10d343e5e4792ba3357a534920c4f909d Mon Sep 17 00:00:00 2001 From: czaks Date: Sat, 19 Apr 2014 23:06:59 +0200 Subject: [PATCH] fix previous commit --- inc/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/functions.php b/inc/functions.php index cb198e6c..14f874c5 100644 --- a/inc/functions.php +++ b/inc/functions.php @@ -621,7 +621,7 @@ function listBoards($just_uri = false) { return $boards; if (!$just_uri) { - $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()); + $query = query("SELECT * FROM ``boards`` ORDER BY `uri`") or error(db_error()); $boards = $query->fetchAll(); } else { $boards = array();