diff options
author | Urban Müller | 2023-07-27 15:47:26 +0200 |
---|---|---|
committer | Urban Müller | 2023-07-27 15:47:26 +0200 |
commit | 2cca98b6c889fda20b949b7ce2faad29b2104c3e (patch) | |
tree | 66e745ccc475a122fa5abdb9ff1928690ce8c28a | |
parent | 74cab4f360e30d7b06dd7754b83917f1d3bee0c2 (diff) | |
download | itools-2cca98b6c889fda20b949b7ce2faad29b2104c3e.tar.gz itools-2cca98b6c889fda20b949b7ce2faad29b2104c3e.tar.bz2 itools-2cca98b6c889fda20b949b7ce2faad29b2104c3e.zip |
bugfix, thanks buddha
-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 = 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" : "") . |