Commit 840f3954 authored by Marius Burkard's avatar Marius Burkard

- fixed module button display on dashlet if multiple modules have same order setting

parent c9abb2d5
...@@ -47,7 +47,7 @@ class dashlet_modules { ...@@ -47,7 +47,7 @@ class dashlet_modules {
} else { } else {
if(strlen($module_title) > 8) $module_title = substr($module_title, 0, 7).'..'; if(strlen($module_title) > 8) $module_title = substr($module_title, 0, 7).'..';
} }
$mod[$module['order']] = array( 'modules_title' => $module_title, $mod[$module['order'].'-'.$module['name']] = array( 'modules_title' => $module_title,
'modules_startpage' => $module['startpage'], 'modules_startpage' => $module['startpage'],
'modules_name' => $module['name']); 'modules_name' => $module['name']);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment