]> git.mxchange.org Git - core.git/blobdiff - inc/classes/exceptions/user/class_UserPasswordMismatchException.php
No HTML in exceptions
[core.git] / inc / classes / exceptions / user / class_UserPasswordMismatchException.php
index 09383a41d5d5bda87ffbba313a8e74d8acbf80b8..cd97d8202059ca197d28a5cee2d7aa053c12cd4c 100644 (file)
@@ -4,7 +4,7 @@
  *
  * @author             Roland Haeder <webmaster@ship-simu.org>
  * @version            0.0.0
- * @copyright  Copyright (c) 2007 - 2009 Roland Haeder, this is free software
+ * @copyright  Copyright (c) 2007, 2008 Roland Haeder, 2009 - 2012 Core Developer Team
  * @license            GNU GPL 3.0 or any newer version
  * @link               http://www.ship-simu.org
  *
@@ -29,9 +29,9 @@ class UserPasswordMismatchException extends FrameworkException {
         * @param       $code           An optional code for better debugging
         * @return      void
         */
-       public function __construct(array $msgArray, $code = 0) {
+       public function __construct (array $msgArray, $code = 0) {
                // Create the message
-               $message = sprintf("[%s:%d] Supplied password for user <span class=\"exception_reason\">%s</span> did not match with stored password.",
+               $message = sprintf("[%s:%d] Supplied password for user %s did not match with stored password.",
                        $msgArray[0]->__toString(),
                        $this->getLine(),
                        $msgArray[1]->getUserName()