1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-19 12:51:52 +02:00

Fixes #1967 - Allow for display of page which doesn't contain a page title.

This commit is contained in:
Cameron
2016-11-07 12:09:12 -08:00
parent a3fff13d7f
commit c94655a5e9
2 changed files with 17 additions and 16 deletions

View File

@@ -440,7 +440,7 @@ class page_admin_ui extends e_admin_ui
LEFT JOIN #user AS u ON p.page_author = u.user_id
LEFT JOIN #page_chapters AS pch ON p.page_chapter = pch.chapter_id
LEFT JOIN #page_chapters AS pbk ON pch.chapter_parent = pbk.chapter_id
WHERE p.page_title != '' "; // without any Order or Limit.
WHERE (p.page_title != '' OR p.page_text != '') "; // without any Order or Limit.
//protected $editQry = "SELECT * FROM #comments WHERE comment_id = {ID}";
protected $pid = "page_id";