summaryrefslogtreecommitdiffstats
path: root/inc/message.inc.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/message.inc.php')
-rw-r--r--inc/message.inc.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/inc/message.inc.php b/inc/message.inc.php
index 96fb94c5..d6a62f4e 100644
--- a/inc/message.inc.php
+++ b/inc/message.inc.php
@@ -37,6 +37,9 @@ class Message
*/
private static function add($type, $id, $params)
{
+ if (strstr($id, '.') === false) {
+ $id = Page::getModule()->getIdentifier() . '.' . $id;
+ }
self::$list[] = array(
'type' => $type,
'id' => $id,