Skip to content

Commit

Permalink
Add token to form generated by Util::linkOrButton
Browse files Browse the repository at this point in the history
Fixes #13182

Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Apr 28, 2017
1 parent d99fe15 commit 0f1c011
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Expand Up @@ -14,6 +14,7 @@ phpMyAdmin - ChangeLog
- issue #13152 Fixed PHP error in case of invalid table preferences
- issue #13154 Fixed PHP error on password change
- issue Fix Refresh of Process List
- issue #13182 Fix refresh of long queries

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 libraries/Util.php
Expand Up @@ -1858,6 +1858,7 @@ public static function linkOrButton(
}
$ret = '<form action="' . $url_parts['path'] . '" class="link"'
. ' method="post"' . $target . ' style="display: inline;">';
$ret .= URL::getHiddenInputs();
$subname_open = '';
$subname_close = '';
$submit_link = '#';
Expand Down

0 comments on commit 0f1c011

Please sign in to comment.