diff --git a/ChangeLog b/ChangeLog index 62130b6c9..744a59bbc 100755 --- a/ChangeLog +++ b/ChangeLog @@ -7,6 +7,8 @@ $Source$ 2006-03-04 Marc Delisle * lang/swedish: Update, thanks to Björn T. Hallberg - bjornth. + * import.php, libraries/common.lib.php: bug #1413880, page status not + preserved on Refresh 2006-03-03 Michal Čihař * libraries/Theme_Manager.class.php: Fix include path (bug #1442008). diff --git a/import.php b/import.php index d749081c6..fcef01e3f 100644 --- a/import.php +++ b/import.php @@ -399,8 +399,13 @@ if (isset($my_die)) { } if ($go_sql) { - // Set pos to zero to possibly append limit - $pos = 0; + if (isset($_GET['pos'])) { + // comes from the Refresh link + $pos = $_GET['pos']; + } else { + // Set pos to zero to possibly append limit + $pos = 0; + } require('./sql.php'); } else { $active_page = $goto; diff --git a/libraries/common.lib.php b/libraries/common.lib.php index e7d717136..464ab591c 100644 --- a/libraries/common.lib.php +++ b/libraries/common.lib.php @@ -1583,6 +1583,7 @@ window.parent.updateTableTitle('', '