diff options
| author | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2022-03-22 14:14:13 +0000 |
|---|---|---|
| committer | Elmar Ludwig <elmar.ludwig@uni-osnabrueck.de> | 2022-03-22 14:14:13 +0000 |
| commit | 132660a93630336e3c6f9043407d382584ea8d43 (patch) | |
| tree | 40acd159220a0561407e7d7bde0d07df5fe96a73 /lib/classes/ModulesNotification.class.php | |
| parent | 93b488311395c1f5c195e980327cc9fe0cf263bc (diff) | |
use ABSOLUTE_URI_STUDIP as URL for core plugins and move assets, re #796
Diffstat (limited to 'lib/classes/ModulesNotification.class.php')
| -rw-r--r-- | lib/classes/ModulesNotification.class.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/classes/ModulesNotification.class.php b/lib/classes/ModulesNotification.class.php index a4d81aa..f2f4ddc 100644 --- a/lib/classes/ModulesNotification.class.php +++ b/lib/classes/ModulesNotification.class.php @@ -55,7 +55,8 @@ class ModulesNotification $this->registered_notification_modules[$id]['icon'] = Icon::create('news'); } if (!is_object($this->registered_notification_modules[$id]['icon'])) { - $this->registered_notification_modules[$id]['icon'] = Icon::create($this->registered_notification_modules[$id]['icon']); + $icon = $module->getPluginURL() . '/' . $this->registered_notification_modules[$id]['icon']; + $this->registered_notification_modules[$id]['icon'] = Icon::create($icon); } } $this->registered_notification_modules[-1] = |
