Merge branch 'develop' of gitlab.antadis.net:dev-antadis/bebeboutik into develop

This commit is contained in:
Christophe Latour 2017-10-02 12:50:30 +02:00
commit 3442442c3d

View File

@ -2029,7 +2029,14 @@ class Sale {
$current_sale = $sale;
$adding_sale = $added_sale;
} else {
// We can test with the attribute
// Compatibility with object - We can test with the attribute
// Same sale
if((int)$sale->id == (int)$added_sale->id){
return true;
}
// Uncombinable
if((int)$sale->uncombinable == 1 || (int)$added_sale->uncombinable == 1) {
return false;
}