From 07226e1160688967fecde5c3a3867cd8c7bdb700 Mon Sep 17 00:00:00 2001 From: Yash Bothra Date: Sat, 11 Jan 2020 16:01:33 +0100 Subject: [PATCH 1/2] Fix #15741 - Fatal javascript error on clicking "Pick from Central Columns" Signed-off-by: Yash Bothra --- js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/functions.js b/js/functions.js index cf973b5c99..a680840b17 100644 --- a/js/functions.js +++ b/js/functions.js @@ -3561,7 +3561,7 @@ AJAX.registerOnload('functions.js', function () { url: href, data: params, success: function (data) { - centralColumnList[db + '_' + table] = JSON.parse(data.message); + centralColumnList[db + '_' + table] = data.message; }, async:false }); From 0606c9c0b9ab95bba2d19867ba8135c2029de3a2 Mon Sep 17 00:00:00 2001 From: William Desportes Date: Sat, 11 Jan 2020 16:27:47 +0100 Subject: [PATCH 2/2] Add ChangeLog entry for #15741 Signed-off-by: William Desportes --- ChangeLog | 1 + 1 file changed, 1 insertion(+) diff --git a/ChangeLog b/ChangeLog index 7c77621e3e..61a8f07e34 100644 --- a/ChangeLog +++ b/ChangeLog @@ -6,6 +6,7 @@ phpMyAdmin - ChangeLog - issue #15767 Fixed can not copy user account since 5.0 - "error #1133" - issue #15772 Fixed error code 500 during pagination of the tables in a database - issue Fix php error "Trying to access array offset on value of type null" on column distinct values feature +- issue #15741 Fix fatal javascript error on clicking "Pick from Central Columns" 5.0.1 (2020-01-07) - issue #15719 Fixed error 500 when browsing a table when $cfg['LimitChars'] used a string and not an int value