diff options
author | Urban Müller | 2023-07-27 15:42:06 +0200 |
---|---|---|
committer | Urban Müller | 2023-07-27 15:42:06 +0200 |
commit | 74cab4f360e30d7b06dd7754b83917f1d3bee0c2 (patch) | |
tree | 4e4a60d6c454f0181d5dbfda0931316a4eb83cdd /it.class | |
parent | a11dc208386a29226fa0ba2d6d60e9e77915477f (diff) | |
download | itools-74cab4f360e30d7b06dd7754b83917f1d3bee0c2.tar.gz itools-74cab4f360e30d7b06dd7754b83917f1d3bee0c2.tar.bz2 itools-74cab4f360e30d7b06dd7754b83917f1d3bee0c2.zip |
fix mail0
Diffstat (limited to 'it.class')
-rw-r--r-- | it.class | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -273,7 +273,7 @@ static function error($p = array(), $extra = null) $p['body'] = " See " . getenv('HOSTNAME') . ":$datafn"; } - $mailid = "mail" . (crc32($trace) % 10000); + $mailid = sprintf("mail%04d", crc32($trace) % 10000 ?: $p['title']); $body = ($p['omitdebuginfo'] >= 2 ? "" : ($url && !$toscreen? "Title: {$p['title']}\nUrl: $url\n" : "") . |