From 2cca98b6c889fda20b949b7ce2faad29b2104c3e Mon Sep 17 00:00:00 2001 From: Urban Müller Date: Thu, 27 Jul 2023 15:47:26 +0200 Subject: bugfix, thanks buddha --- it.class | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/it.class b/it.class index bd3627f..a788de3 100644 --- a/it.class +++ b/it.class @@ -273,7 +273,7 @@ static function error($p = array(), $extra = null) $p['body'] = " See " . getenv('HOSTNAME') . ":$datafn"; } - $mailid = sprintf("mail%04d", crc32($trace) % 10000 ?: $p['title']); + $mailid = sprintf("mail%04d", crc32($trace ?: $p['title']) % 10000); $body = ($p['omitdebuginfo'] >= 2 ? "" : ($url && !$toscreen? "Title: {$p['title']}\nUrl: $url\n" : "") . -- cgit v1.2.3