No HTML in exceptions
[core.git] / inc / classes / exceptions / helper / class_FormGroupClosedException.php
index c6f9eb39c8f26c60fb674ed7fff0bf82246778c5..188f7d652dbd9f2e201eb32c55ebab7e70277b75 100644 (file)
@@ -31,7 +31,7 @@ class FormGroupClosedException extends FrameworkException {
         */
        public function __construct (array $classArray, $code) {
                // Add a message around the missing class
-               $message = sprintf("[%s:%d] Could not add sub group <span class=\"exception_reason\">%s</span> because no form group has been opened before.",
+               $message = sprintf("[%s:%d] Could not add sub group %s because no form group has been opened before.",
                        $classArray[0]->__toString(),
                        $this->getLine(),
                        $classArray[1]