From 81825ebda9f0066a272b89baf67f78266f01c00b Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 9 Dec 2019 19:49:59 +0100 Subject: [PATCH 1/2] Fix #15633 - designer set display field broken for php 5.x versions Fixes: #15633 Signed-off-by: William Desportes --- db_designer.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db_designer.php b/db_designer.php index ec4284a2ac..ded0e0b6ca 100644 --- a/db_designer.php +++ b/db_designer.php @@ -64,10 +64,10 @@ if (isset($_POST['operation'])) { $success = $designerCommon->saveTablePositions($page); $response->setRequestStatus($success); } elseif ($_POST['operation'] == 'setDisplayField') { - [ + list( $success, $message, - ] = $designerCommon->saveDisplayField( + ) = $designerCommon->saveDisplayField( $_POST['db'], $_POST['table'], $_POST['field'] From 3fe68cee4e21aed886dea94bead24863c6d7443e Mon Sep 17 00:00:00 2001 From: William Desportes Date: Mon, 9 Dec 2019 19:51:46 +0100 Subject: [PATCH 2/2] Add ChangeLog entry for #15633 Signed-off-by: William Desportes --- ChangeLog | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog b/ChangeLog index 604ab112e9..c6c9fd353a 100644 --- a/ChangeLog +++ b/ChangeLog @@ -8,6 +8,7 @@ phpMyAdmin - ChangeLog - issue #15434 Fix middle click on table sort column name shows a blank page - issue Fix php notice "Undefined index table_create_time" when setting displayed columns on results of a view - issue #15571 Fix fatal error when trying to edit row with row checked and button under the table +- issue #15633 Fix designer set display field broken for php 5.x versions 4.9.2 (2019-11-21) - issue #14184 Change the cookie name from phpMyAdmin to phpMyAdmin_https for HTTPS, fixes many "Failed to set session cookie" errors