Fix: Wrong target in menu

This commit is contained in:
Laurent Destailleur 2011-02-19 10:44:24 +00:00
parent 835235b41f
commit c467462cf0

View File

@ -199,7 +199,7 @@ if ($resql)
if ($num == 1 && ($sall || $snom || $sref || $sbarcode) && $_POST["action"] != 'list') if ($num == 1 && ($sall || $snom || $sref || $sbarcode) && $_POST["action"] != 'list')
{ {
$objp = $db->fetch_object($resql); $objp = $db->fetch_object($resql);
Header("Location: fiche.php?id=$objp->rowid"); Header("Location: fiche.php?id=".$objp->rowid);
exit; exit;
} }
@ -222,7 +222,7 @@ if ($resql)
$helpurl='EN:Module_Services_En|FR:Module_Services|ES:Módulo_Servicios'; $helpurl='EN:Module_Services_En|FR:Module_Services|ES:Módulo_Servicios';
} }
llxHeader("",$title,$helpurl,$texte); llxHeader('',$title,$helpurl,'');
// Displays product removal confirmation // Displays product removal confirmation
if (!empty($_GET['delprod'])) if (!empty($_GET['delprod']))