From 6ec90ac436e6c5a31ae6c50c3e1e0ef1752fabfa Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 2 Sep 2009 16:52:45 +0000 Subject: [PATCH] Fix: Bad link --- htdocs/admin/bookmark.php | 2 +- htdocs/bookmarks/fiche.php | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) 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 ''; +print '
'; print ''; print ''; print ''; 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 ''."\n"; + print ''."\n"; print ''; print ''; @@ -180,11 +180,11 @@ if ($_GET["id"] > 0 && ! eregi('^add',$_GET["action"])) if ($_GET["action"] == 'edit') { - print ''; + print ''; print ''; print ''; print ''; - print ''; + print ''; } print '
'.$langs->trans("Name").''.$langs->trans("Value").'
';