1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-31 20:00:37 +02:00

Fixes #4940 - Flexpanel was not displaying moved core items correctly.

This commit is contained in:
camer0n
2023-11-18 08:45:15 -08:00
parent 6b7aa7c6d9
commit dcd1745bad
2 changed files with 17 additions and 5 deletions

View File

@@ -342,6 +342,8 @@ class adminstyle_flexpanel extends adminstyle_infopanel
*/
function getMenuPosition($id)
{
$id = str_replace('_', '-', $id); // fix for core news etc.
$user_pref = $this->getUserPref();
if(!empty($user_pref['core-flexpanel-order'][$id]))