summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--it.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it.class b/it.class
index bb3ef83..357fcf5 100644
--- a/it.class
+++ b/it.class
@@ -230,7 +230,7 @@ static function error($p = array())
if ($sendmail) # we're mailing: send maximum info
{
- $p['title'] = "Alert: " . $p['title'] . " (via " . getenv('HOSTNAME') . ")";
+ $p['title'] = "Alert: " . it::replace(['\.[^:]*' => "", 'alert: ' => "", "^: " => ""], $GLOBALS['ULTRASITE'] . ": ") . $p['title'] . " (via " . getenv('HOSTNAME') . ")";
if (!$p['omitdebuginfo'])
{