1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-08 23:56:58 +02:00

Fix default table value for page_class and menu_class. Correct pageList query.

This commit is contained in:
Cameron
2014-06-28 00:13:38 -07:00
parent 3faf3050d7
commit b6163e25e9
2 changed files with 3 additions and 3 deletions

View File

@@ -446,7 +446,7 @@ class pageClass
$pageOnly = ($layout == 'panel') ? " menu_class IN (".USERCLASS_LIST.") " : "page_title !='' AND page_class IN (".USERCLASS_LIST.") "; // When in 'panel' mode, allow Menus to be rendered while checking menu_class.
if(!$count = $sql->select("page", "*", $pageOnly." AND page_chapter=".intval($chapt)." AND ORDER BY page_order ASC "))
if(!$count = $sql->select("page", "*", $pageOnly." AND page_chapter=".intval($chapt)." ORDER BY page_order ASC "))
{
return array('text' => "<em>".(LAN_PAGE_2)."</em>");
// $text = "<ul class='page-pages-list page-pages-none'><li>".LAN_PAGE_2."</li></ul>";