Revision 840
Added by thorn over 17 years ago
| trunk/CHANGELOG | ||
|---|---|---|
| 10 | 10 |
# = Bugfix |
| 11 | 11 |
! = Update/Change |
| 12 | 12 |
|
| 13 |
------------------------------------- 2.7.1 ------------------------------------- |
|
| 13 |
------------------------------------- 2.7.1 ------------------------------------- |
|
| 14 |
26-Apr-2008 Thomas Hornik |
|
| 15 |
# class.admin.php deletes actual query-string while redirection. fixed. |
|
| 14 | 16 |
25-Apr-2008 Matthias Gallas |
| 15 | 17 |
# fixed validiation bug in option fields of form modul |
| 16 | 18 |
------------------------------------- 2.7.0 ------------------------------------- |
| trunk/wb/framework/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.