Update product.class.php

fix style error
This commit is contained in:
lamrani abdelwadoud 2023-01-16 15:53:57 +01:00 committed by GitHub
parent 20cd834839
commit 6983ef9584
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6291,7 +6291,6 @@ class Product extends CommonObject
$return .= '<div class="info-box info-box-sm">';
$return .= '<div class="info-box-img">';
$label = '';
if ($this->is_photo_available($conf->product->multidir_output[$this->entity])) {
$label .= $this->show_photos('product', $conf->product->multidir_output[$this->entity]);
$return .= $label;
@ -6303,7 +6302,6 @@ class Product extends CommonObject
}
$return .= $label;
}
$return .= '</div>';
$return .= '<div class="info-box-content">';
$return .= '<span class="info-box-ref">'.(method_exists($this, 'getNomUrl') ? $this->getNomUrl() : $this->ref).'</span>';