diff --git a/module/mail/model.php b/module/mail/model.php index b3995f5f84..c0d8b4f7c8 100644 --- a/module/mail/model.php +++ b/module/mail/model.php @@ -696,6 +696,7 @@ class mailModel extends model $nameFields = $this->config->action->objectNameFields[$objectType]; $title = zget($object, $nameFields, ''); $subject = $this->getSubject($objectType, $object, $title, $action->action); + $domain = zget($this->config->mail, 'domain', common::getSysURL()); if($objectType == 'review' and empty($object->auditedBy)) return; @@ -715,7 +716,7 @@ class mailModel extends model $action->extra = $extra; if($title) { - $action->appendLink = html::a(zget($this->config->mail, 'domain', common::getSysURL()) . helper::createLink($action->objectType, 'view', "id=$id", 'html'), "#$id " . $title); + $action->appendLink = html::a($domain . helper::createLink($action->objectType, 'view', "id=$id", 'html'), "#$id " . $title); } }