diff --git a/htdocs/admin/bookmark.php b/htdocs/admin/bookmark.php index c5198220a12..b60b7626f15 100644 --- a/htdocs/admin/bookmark.php +++ b/htdocs/admin/bookmark.php @@ -68,7 +68,7 @@ print ''; $var=true; -print '
| '.$langs->trans("Name").' | '; print ''.$langs->trans("Value").' | '; diff --git a/htdocs/bookmarks/fiche.php b/htdocs/bookmarks/fiche.php index ed55e4a4959..55ac5dbec7a 100644 --- a/htdocs/bookmarks/fiche.php +++ b/htdocs/bookmarks/fiche.php @@ -71,7 +71,7 @@ if ($action == 'add' || $action == 'addproduct' || $action == 'update') if ($res > 0) { - $urlsource=isset($_REQUEST["urlsource"])?$_REQUEST["urlsource"]:DOL_URL_ROOT.'/bookmarks/liste.php'; + $urlsource=! empty($_REQUEST["urlsource"])?urldecode($_REQUEST["urlsource"]):DOL_URL_ROOT.'/bookmarks/liste.php'; header("Location: ".$urlsource); exit; } @@ -133,7 +133,7 @@ if ($action == 'create') * Fiche bookmark en mode creation */ - print '