Merge branch 'ticket-10657-PhileaMulti' into develop

This commit is contained in:
Marion Muszynski 2016-11-18 12:24:54 +01:00
commit 218aac655a

View File

@ -98,8 +98,7 @@ class CartController extends CartControllerCore
if (((int)$current_sale['delivery_delay'] != 1
&& (int)$adding_sale['id_sale'] != (int)$current_sale['id_sale']
&& (
(int)$current_sale['shipping'] != 1
&& (int)$adding_sale['shipping'] != 1
((int)$current_sale['shipping'] != 1 || (int)$adding_sale['shipping'] != 1)
&& (int)$adding_sale['delivery_delay'] != (int)$current_sale['delivery_delay']
))
|| ((int)$current_sale['delivery_delay'] != 1 && (int)$adding_sale['delivery_delay'] == 1)