From e1eb5e8e8939c80309382738f6c5c300969cccec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20=C4=8Ciha=C5=99?= Date: Fri, 17 Jun 2016 09:21:52 +0200 Subject: [PATCH] Fix error reporting on invalid request data MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michal Čihař --- setup/validate.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/setup/validate.php b/setup/validate.php index 81fb788d6d..ea986f4a64 100644 --- a/setup/validate.php +++ b/setup/validate.php @@ -26,7 +26,10 @@ if (!($values instanceof stdClass)) { $values = (array)$values; $result = PMA_config_validate($vids, $values, true); if ($result === false) { - $result = 'Wrong data or no validation for ' . $vids; + $result = sprintf( + __('Wrong data or no validation for %s'), + implode(',', $vids) + ); } echo $result !== true ? json_encode($result) : ''; ?>