No HTML in exceptions
[core.git] / inc / classes / exceptions / main / class_EmptyVariableException.php
index 70913288655514e2638f45963bd8b62645318004..7d35e4ac8d8646bc09e2ca8602de15dfd78dae80 100644 (file)
@@ -31,7 +31,7 @@ class EmptyVariableException extends FrameworkException {
         */
        public function __construct (array $msgArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Variable <span class=\"exception_reason\">%s</span> is not set.",
+               $message = sprintf("[%s:%d] Variable %s is not set.",
                        $msgArray[0]->__toString(),
                        $this->getLine(),
                        $msgArray[1]