mirror of
https://github.com/e107inc/e107.git
synced 2025-05-04 11:24:54 +02:00
Fix for Dashboard infopanel-menus.
This commit is contained in:
parent
2ebd60821d
commit
ca61dc9ef2
@ -669,12 +669,12 @@ class adminstyle_infopanel
|
||||
}
|
||||
|
||||
$frm = e107::getForm();
|
||||
$pref = e107::getPref();
|
||||
global $user_pref;
|
||||
|
||||
|
||||
$text = "<div style='padding-left:20px'>";
|
||||
$menu_qry = 'SELECT * FROM #menus WHERE menu_id!= 0 GROUP BY menu_name ORDER BY menu_name';
|
||||
$settings = varset($pref['core-infopanel-menus'],array());
|
||||
$settings = varset($user_pref['core-infopanel-menus'],array());
|
||||
|
||||
if (e107::getDb()->gen($menu_qry))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user