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 5b83317..bdd9cfb 100644
--- a/it.class
+++ b/it.class
@@ -309,7 +309,7 @@ static function error($p = array(), $extra = null)
'Reply-To' => $p['to'],
'Cc' => $GLOBALS['it_defaultconfig']['error_cc'],
'Subject' => $type . substr($p['title'], 0, 160),
- 'Body' => $body,
+ 'Body' => it::replace(['\x00' => "[NULLBYTE]"], $body),
'forcemail' => !it::is_devel(),
]);
$p['title'] = "Mail: " . $p['title'];