Fix: Bookmark management
This commit is contained in:
parent
21ed88f276
commit
745056e6d3
@ -41,10 +41,10 @@ $target=isset($_GET["target"])?$_GET["target"]:$_POST["target"];
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
if ($action == 'add' || $action == 'addproduct')
|
if ($action == 'add' || $action == 'addproduct')
|
||||||
{var_dump($_POST);
|
{
|
||||||
if ($_POST["cancel"])
|
if ($_POST["cancel"])
|
||||||
{
|
{
|
||||||
$urlsource=isset($_GET["urlsource"])?$_GET["urlsource"]:(isset($url)?$url:DOL_URL_ROOT.'/bookmarks/liste.php');
|
$urlsource=(! empty($_GET["urlsource"]))?$_GET["urlsource"]:((! empty($url))?$url:DOL_URL_ROOT.'/bookmarks/liste.php');
|
||||||
header("Location: ".$urlsource);
|
header("Location: ".$urlsource);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user