Skip to content
This repository was archived by the owner on Sep 10, 2021. It is now read-only.

Commit 10cbbb2

Browse files
author
Michael Grauer
committed
BUG: Refs #212. Fix of left-link icon, redirected to config page.
1 parent 6b93e78 commit 10cbbb2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

modules/batchmake/Notification.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,9 @@ public function getDashboard()
5656
public function getLeftLink()
5757
{
5858
$fc = Zend_Controller_Front::getInstance();
59-
$moduleWebroot = $fc->getBaseUrl() . '/modules/' . MIDAS_BATCHMAKE_MODULE;
60-
return array(ucfirst(MIDAS_BATCHMAKE_MODULE) => array($moduleWebroot . '/config', $moduleWebroot . '/public/images/cmake.png'));
59+
$baseURL = $fc->getBaseUrl();
60+
$moduleWebroot = $baseURL . '/' . MIDAS_BATCHMAKE_MODULE;
61+
return array(ucfirst(MIDAS_BATCHMAKE_MODULE) => array($moduleWebroot . '/config', $baseURL . '/modules/batchmake/public/images/cmake.png'));
6162
}
6263

6364
} //end class

0 commit comments

Comments
 (0)