]> git.mxchange.org Git - mailer.git/blobdiff - inc/wrapper-functions.php
Charset is now passed to PHPMailer, setOutputMode() does now cast to int, output...
[mailer.git] / inc / wrapper-functions.php
index f8b068dc3523cd20ea144b4de3b66d1935c90445..b76f513d39a06a91a60111ec4535c8be4051ab0b 100644 (file)
@@ -593,7 +593,7 @@ function getOutputMode () {
 
 // Setter for 'output_mode' value
 function setOutputMode ($newOutputMode) {
-       $GLOBALS['output_mode'] = SQL_ESCAPE($newOutputMode);
+       $GLOBALS['output_mode'] = (int) $newOutputMode;
 }
 
 // Checks wether output_mode is set and optionally aborts on miss