1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 20:58:30 +01:00

Custom Menu administration inline edit fix

This commit is contained in:
SecretR 2013-03-07 16:48:35 +02:00
parent f62a04b19a
commit cfca9ca255

View File

@ -361,8 +361,8 @@ class page_admin_ui extends e_admin_ui
function init()
{
// USED IN Menu LIST-MODE ONLY.
if($this->getMode() == 'menu' && $this->getACtion() == 'list')
// USED IN Menu LIST/INLINE-EDIT MODE ONLY.
if($this->getMode() == 'menu' && ($this->getACtion() == 'list' || $this->getACtion() == 'inline'))
{
$this->listQry = "SELECT p.*,u.user_id,u.user_name FROM #page AS p LEFT JOIN #user AS u ON p.page_author = u.user_id WHERE p.page_theme != '' "; // without any Order or Limit.