} // END - if
// Debug mode enabled?
- if (isDebugModeEnabled()) {
+ if ((isDebugModeEnabled()) && (!isAjaxOutputMode())) {
// Init content array
$content = array(
'headers' => htmlentities(trim($mailHeader)),
} // END - if
// Is the raw userid set?
- if (isValidUserId(postRequestElement($userIdColumn[0], $id))) {
+ if (isValidId(postRequestElement($userIdColumn[0], $id))) {
// Set it in content
$content[$userIdColumn[0]] = bigintval(postRequestElement($userIdColumn[0], $id));