don't jump to the product card when there's only one research result

This commit is contained in:
Cédric Salvador 2013-09-04 10:26:00 +02:00
parent d7a14a15b3
commit 6a51f5f87a

View File

@ -199,11 +199,6 @@ $resql = $db->query($sql);
if ($resql) {
$num = $db->num_rows($resql);
$i = 0;
if ($num == 1 && ($sall or $snom or $sref)) {
$objp = $db->fetch_object($resql);
header('Location: ../fiche.php?id=' . $objp->rowid);
exit;
}
$helpurl = 'EN:Module_Stocks_En|FR:Module_Stock|';
$helpurl .= 'ES:Módulo_Stocks';