summaryrefslogtreecommitdiff
path: root/change_password.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2007-04-23 09:36:32 +0000
committerMax Kremmel <xing@synapse.plus.com>2007-04-23 09:36:32 +0000
commit274620633b4e661ca8e39641eb5009ed038bb5ac (patch)
tree6bf855d2a46e349504e647cd67c806c16e2a9b64 /change_password.php
parente78e0ca1069bf72d807374e2f585302b48673fde (diff)
downloadusers-274620633b4e661ca8e39641eb5009ed038bb5ac.tar.gz
users-274620633b4e661ca8e39641eb5009ed038bb5ac.tar.bz2
users-274620633b4e661ca8e39641eb5009ed038bb5ac.zip
fatalError message translation standardisation: fatalError message is not translated in the function so it has to be translated when it's passed in. this allows for dynamically changed errormessages without causing duplicate master strings
Diffstat (limited to 'change_password.php')
-rw-r--r--change_password.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/change_password.php b/change_password.php
index 0130e26..1f981bd 100644
--- a/change_password.php
+++ b/change_password.php
@@ -1,6 +1,6 @@
<?php
/**
- * $Header: /cvsroot/bitweaver/_bit_users/change_password.php,v 1.7 2006/09/12 19:26:48 spiderr Exp $
+ * $Header: /cvsroot/bitweaver/_bit_users/change_password.php,v 1.8 2007/04/23 09:36:32 squareing Exp $
*
* Copyright (c) 2004 bitweaver.org
* Copyright (c) 2003 tikwiki.org
@@ -8,7 +8,7 @@
* All Rights Reserved. See copyright.txt for details and a complete list of authors.
* Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details
*
- * $Id: change_password.php,v 1.7 2006/09/12 19:26:48 spiderr Exp $
+ * $Id: change_password.php,v 1.8 2007/04/23 09:36:32 squareing Exp $
* @package users
* @subpackage functions
*/
@@ -36,7 +36,7 @@ if (isset($_REQUEST["change"])) {
}
if( $passswordError = $gBitUser->verifyPasswordFormat( $_REQUEST["pass"], $_REQUEST["pass2"] ) ) {
- $gBitSystem->fatalError( $passswordError );
+ $gBitSystem->fatalError( tra( $passswordError ));
}
$validated = FALSE;