Merge remote-tracking branch 'origin/QA_4_5' into QA_4_5

This commit is contained in:
Weblate 2015-10-13 15:25:22 +02:00
commit d097ed33bf

View File

@ -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 '';