From 56ab89da6c07dbd6a4e2f24195aeb3be13cd541c Mon Sep 17 00:00:00 2001 From: Marc Delisle Date: Tue, 13 Oct 2015 09:25:15 -0400 Subject: [PATCH] Fix parameter order Signed-off-by: Marc Delisle --- libraries/export.lib.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/export.lib.php b/libraries/export.lib.php index 7dc5af7393..d535344ff2 100644 --- a/libraries/export.lib.php +++ b/libraries/export.lib.php @@ -1034,14 +1034,14 @@ function PMA_getMetadataTypesToExport() /** * Returns the checked clause, depending on the presence of key in array * - * @param array $array array to verify * @param string $key the key to look for + * @param array $array array to verify * * @return string the checked clause */ -function PMA_getCheckedClause($array, $key) +function PMA_getCheckedClause($key, $array) { - if (in_array($array, $key)) { + if (in_array($key, $array)) { return ' checked="checked"'; } else { return '';