Index: trunk/CHANGELOG
===================================================================
--- trunk/CHANGELOG	(revision 839)
+++ trunk/CHANGELOG	(revision 840)
@@ -10,7 +10,9 @@
 # = Bugfix
 ! = Update/Change
 
-------------------------------------- 2.7.1 -------------------------------------
+------------------------------------- 2.7.1 -------------------------------------
+26-Apr-2008 Thomas Hornik
+#	class.admin.php deletes actual query-string while redirection. fixed.
 25-Apr-2008 Matthias Gallas
 #	fixed validiation bug in option fields of form modul
 ------------------------------------- 2.7.0 -------------------------------------
Index: trunk/wb/framework/class.admin.php
===================================================================
--- trunk/wb/framework/class.admin.php	(revision 839)
+++ trunk/wb/framework/class.admin.php	(revision 840)
@@ -86,7 +86,11 @@
 			// check if page_id is set
 			$page_id_url = (isset($_GET['page_id'])) ? '&page_id=' .(int) $_GET['page_id'] : '';
 			$section_id_url = (isset($_GET['section_id'])) ? '&section_id=' .(int) $_GET['section_id'] : '';
-			header('Location: '.$_SERVER['PHP_SELF'] .'?lang='.$user_language .$page_id_url .$section_id_url);
+			if(isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != '') { // check if there is an query-string
+				header('Location: '.$_SERVER['PHP_SELF'] .'?lang='.$user_language .$page_id_url .$section_id_url.'&'.$_SERVER['QUERY_STRING']);
+			} else {
+				header('Location: '.$_SERVER['PHP_SELF'] .'?lang='.$user_language .$page_id_url .$section_id_url);
+			}
 			exit();
 		}
 
@@ -365,4 +369,4 @@
 	}
 }
 
-?>
\ No newline at end of file
+?>
