mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-11 16:35:38 +00:00
redirect to url passed in refferer
This commit is contained in:
parent
a6972545fd
commit
6b150e831a
|
@ -41,6 +41,12 @@ $session->setSplashMsg(array('type'=>'success', 'msg'=>getMLText('splash_added_t
|
|||
|
||||
/* FIXME: this does not work because the folder id is not passed */
|
||||
$folderid = $_GET['folderid'];
|
||||
header("Location:../out/out.ViewFolder.php?folderid=".$folderid);
|
||||
|
||||
if($_GET['refferer'])
|
||||
header("Location:".urldecode($_GET['refferer']));
|
||||
else {
|
||||
$folderid = $_GET['folderid'];
|
||||
header("Location:../out/out.ViewFolder.php?folderid=".$folderid);
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user