From a661c06fd63fc7db30cf9c51154aed5a028dba3c Mon Sep 17 00:00:00 2001 From: Fenn-CS Date: Thu, 6 Apr 2017 14:53:49 +0100 Subject: [PATCH] Added a locale reference for $response in PMA_getChangePassMessage() of user_password.php MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes #13154 Signed-off-by: Fenn-CS Signed-off-by: Michal Čihař --- ChangeLog | 1 + user_password.php | 1 + 2 files changed, 2 insertions(+) diff --git a/ChangeLog b/ChangeLog index f3b24efb7e..8a1c8274f5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -12,6 +12,7 @@ phpMyAdmin - ChangeLog - issue #13144 Do not show New as a database in database dropdown - issue #13130 Fixed handling of errors in AJAX requests - issue #13152 Fixed PHP error in case of invalid table preferences +- issue #13154 Fixed PHP error on password change 4.7.0 (2017-03-28) - patch #12233 [Display] Improve message when renaming database to same name diff --git a/user_password.php b/user_password.php index a108836d4f..bbdcc6af28 100644 --- a/user_password.php +++ b/user_password.php @@ -84,6 +84,7 @@ exit; */ function PMA_getChangePassMessage($change_password_message, $sql_query = '') { + $response = Response::getInstance(); if ($response->isAjax()) { /** * If in an Ajax request, we don't need to show the rest of the page