diff --git a/htdocs/compta/commande.php b/htdocs/compta/commande.php
index 137671844ae..4b04dccd238 100644
--- a/htdocs/compta/commande.php
+++ b/htdocs/compta/commande.php
@@ -22,6 +22,7 @@
require("./pre.inc.php");
$user->getrights('commande');
+$user->getrights('facture');
if (!$user->rights->commande->lire)
accessforbidden();
@@ -71,7 +72,7 @@ if ($_GET["id"] > 0)
$author->fetch();
- $head[0][0] = DOL_URL_ROOT.'/comm/propal.php?propalid='.$propal->id;
+ $head[0][0] = DOL_URL_ROOT.'/compta/commande.php?id='.$commande->id;
$head[0][1] = "Commande : $commande->ref";
$h = 1;
$a = 0;
@@ -308,12 +309,14 @@ if ($_GET["id"] > 0)
{
print "