]> git.mxchange.org Git - mailer.git/blobdiff - inc/classes/main/output/class_ConsoleOutput.php
Code base synced
[mailer.git] / inc / classes / main / output / class_ConsoleOutput.php
index b1cae5c408f77eee0c7816b72f768ed2720f54c0..51f5dcaf18abf6b15e64bec13b2954b6e4a0ad43 100644 (file)
@@ -90,12 +90,12 @@ class ConsoleOutput extends BaseFrameworkSystem implements OutputStreamer {
        public final function output ($outStream=false) {
                if ($outStream === false) {
                        // Output something here...
-                       foreach ($this->vars as $var=>$value) {
+                       foreach ($this->vars as $var => $value) {
                                $this->output("var=".$var.", value=".$value."");
                        }
                } else {
                        // Output it to the console
-                       printf("%s\n", trim(html_entity_decode(strip_tags($outStream))));
+                       printf("%s\n", trim(html_entity_decode(strip_tags(stripslashes($outStream)))));
                }
        }