';
- print ' | | ';
+ print ' | ';
+ print ' | ';
if ($i == 0) {
print ' | ';
}
@@ -336,11 +337,11 @@ if ((!empty($conf->product->enabled) || !empty($conf->service->enabled)) && ($us
$product_static->status_buy = $objp->tobuy;
$product_static->status_batch = $objp->tobatch;
- //Multilangs
+ // Multilangs
if (!empty($conf->global->MAIN_MULTILANGS)) {
$sql = "SELECT label";
$sql .= " FROM ".MAIN_DB_PREFIX."product_lang";
- $sql .= " WHERE fk_product=".$objp->rowid;
+ $sql .= " WHERE fk_product=".((int) $objp->rowid);
$sql .= " AND lang='".$db->escape($langs->getDefaultLang())."'";
$resultd = $db->query($sql);
@@ -372,7 +373,7 @@ if ((!empty($conf->product->enabled) || !empty($conf->service->enabled)) && ($us
$objp->price = $price_result;
}
}
- print '';
+ print ' | ';
if (isset($objp->price_base_type) && $objp->price_base_type == 'TTC') {
print price($objp->price_ttc).' '.$langs->trans("TTC");
} else {
|