From dc5e057fe2e11e0b599eaf9dfbe48342abd61cb3 Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Tue, 27 Oct 2015 08:09:43 +1100 Subject: [PATCH] Fix #11607 Unable to change password from Login information tab - make the error message more explicit Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + server_privileges.php | 8 +++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 3c764923d6..3f04c7915b 100644 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,7 @@ phpMyAdmin - ChangeLog - issue #11590 Parser: Array to string conversion - issue #11597 Huge binary log growth on 4.5.x - issue #11594 'only_db' config option bug when db names contain underscore and are grouped +- issue #11607 Unable to change password from Login information tab 4.5.1.0 (2015-10-23) - issue Invalid argument supplied for foreach() diff --git a/server_privileges.php b/server_privileges.php index a08f159914..161da2ee1a 100644 --- a/server_privileges.php +++ b/server_privileges.php @@ -137,7 +137,13 @@ if (isset($_REQUEST['change_copy']) && $username == $_REQUEST['old_username'] && $hostname == $_REQUEST['old_hostname'] ) { $response->addHTML( - PMA_Message::error(__('Username and hostname didn\'t change.'))->getDisplay() + PMA_Message::error( + __( + "Username and hostname didn't change. " + . "If you only want to change the password, " + . "'Change password' tab should be used." + ) + )->getDisplay() ); $response->isSuccess(false); exit;