don't jump to the product card when there's only one research result
This commit is contained in:
parent
d7a14a15b3
commit
6a51f5f87a
@ -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';
|
||||
|
||||
Loading…
Reference in New Issue
Block a user