diff --git a/browse_foreigners.php b/browse_foreigners.php index d9fd43a03..4aa582602 100644 --- a/browse_foreigners.php +++ b/browse_foreigners.php @@ -49,9 +49,9 @@ PMA_setFontSizes(); opener.document.insertForm.elements['field_' + field + '[]'].value = key; self.close(); return false; - } else if (opener.document.insertForm.elements['field_' + field + '[1]']) { + } else if (opener.document.insertForm.elements['field_' + field + '[]']) { // Search form - opener.document.insertForm.elements['field_' + field + '[1]'].value = key; + opener.document.insertForm.elements['field_' + field + '[]'].value = key; self.close(); return false; } @@ -87,6 +87,7 @@ require('./libraries/get_foreign.lib.php');
+ $per_page) { $gotopage = '
' . $GLOBALS['strPageNumber'] - . ''; if ($nbTotalPage < 200) { $firstPage = 1; $lastPage = $nbTotalPage; diff --git a/libraries/functions.js b/libraries/functions.js index ea1520347..a4d105870 100644 --- a/libraries/functions.js +++ b/libraries/functions.js @@ -830,7 +830,7 @@ function insertValueQuery() { /** * listbox redirection */ -function goToUrl(selObj, goToLocation){ +function goToUrl(selObj, goToLocation) { eval("document.location.href = '" + goToLocation + "pos=" + selObj.options[selObj.selectedIndex].value + "'"); } diff --git a/tbl_select.php b/tbl_select.php index 7d5f933c4..94a9bfbfd 100644 --- a/tbl_select.php +++ b/tbl_select.php @@ -279,7 +279,7 @@ function PMA_tbl_select_operator(f, index, multiple) { ?>