From 840f3954b51c9c494b6dea661b2d20ad92460e89 Mon Sep 17 00:00:00 2001
From: Marius Burkard <m.burkard@pixcept.de>
Date: Wed, 25 Jul 2018 15:32:28 +0200
Subject: [PATCH] - fixed module button display on dashlet if multiple modules
 have same order setting

---
 interface/web/dashboard/dashlets/modules.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/interface/web/dashboard/dashlets/modules.php b/interface/web/dashboard/dashlets/modules.php
index da1eb0be77..5c1f15149d 100644
--- a/interface/web/dashboard/dashlets/modules.php
+++ b/interface/web/dashboard/dashlets/modules.php
@@ -47,7 +47,7 @@ class dashlet_modules {
 						} else {
 							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_name'   => $module['name']);
 					}
-- 
GitLab