[go: nahoru, domu]

Skip to content

Commit

Permalink
Added a locale reference for $response in PMA_getChangePassMessage() …
Browse files Browse the repository at this point in the history
…of user_password.php

Fixes #13154

Signed-off-by: Fenn-CS <fenn25.fn@gmail.com>
Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
Fenn-CS authored and nijel committed Apr 7, 2017
1 parent 606dbf8 commit a661c06
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions user_password.php
Original file line number Diff line number Diff line change
Expand Up @@ -84,6 +84,7 @@
*/
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
Expand Down

0 comments on commit a661c06

Please sign in to comment.