From 36f759453739ff18ff8e6a57a121b43a787b1476 Mon Sep 17 00:00:00 2001 From: twister65 Date: Fri, 18 Aug 2017 22:01:18 +0200 Subject: [PATCH] Fix error GROUP BY (postgreSQL) See https://github.com/t3framework/t3/issues/488 --- source/plg_system_t3/includes/admin/megamenu.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/plg_system_t3/includes/admin/megamenu.php b/source/plg_system_t3/includes/admin/megamenu.php index a790b49c1d..5c89ab813a 100644 --- a/source/plg_system_t3/includes/admin/megamenu.php +++ b/source/plg_system_t3/includes/admin/megamenu.php @@ -215,7 +215,7 @@ public static function menus() ->select('menutype, language') ->from($db->quoteName('#__menu')) ->where('published = 1') - ->group('menutype'); + ->group('menutype, language'); $db->setQuery($query); $menulangs = $db->loadAssocList('menutype');