Revision 840
Added by thorn over 16 years ago
class.admin.php | ||
---|---|---|
86 | 86 |
// check if page_id is set |
87 | 87 |
$page_id_url = (isset($_GET['page_id'])) ? '&page_id=' .(int) $_GET['page_id'] : ''; |
88 | 88 |
$section_id_url = (isset($_GET['section_id'])) ? '§ion_id=' .(int) $_GET['section_id'] : ''; |
89 |
header('Location: '.$_SERVER['PHP_SELF'] .'?lang='.$user_language .$page_id_url .$section_id_url); |
|
89 |
if(isset($_SERVER['QUERY_STRING']) && $_SERVER['QUERY_STRING'] != '') { // check if there is an query-string |
|
90 |
header('Location: '.$_SERVER['PHP_SELF'] .'?lang='.$user_language .$page_id_url .$section_id_url.'&'.$_SERVER['QUERY_STRING']); |
|
91 |
} else { |
|
92 |
header('Location: '.$_SERVER['PHP_SELF'] .'?lang='.$user_language .$page_id_url .$section_id_url); |
|
93 |
} |
|
90 | 94 |
exit(); |
91 | 95 |
} |
92 | 96 |
|
... | ... | |
365 | 369 |
} |
366 | 370 |
} |
367 | 371 |
|
368 |
?> |
|
372 |
?> |
Also available in: Unified diff
class.admin.php deletes actual query-string while redirection. fixed.