Merge branch 'develop' of gitlab.antadis.net:dev-antadis/bebeboutik into develop
This commit is contained in:
commit
4eef091227
@ -21,9 +21,9 @@ class Order extends OrderCore {
|
||||
$laposte_carriers = unserialize(Configuration::get('LAPOSTEWS_CARRIERS', serialize(array())));
|
||||
$mondialrelay_carriers = unserialize(Configuration::get('MONDIALRELAYWS_CARRIERS', serialize(array())));
|
||||
$carriers_drop = explode(',',Configuration::get('ANT_CARRIER_DROP'));
|
||||
if(in_array($value,$mondialrelay_carriers)){
|
||||
if(in_array((int)$value,$mondialrelay_carriers)){
|
||||
return '<img width="18px" src="/img/carriers/logo_mr.png" alt="" />';
|
||||
}elseif(in_array($value,$laposte_carriers) || in_array($value,$carriers_drop)){
|
||||
}elseif(in_array((int)$value,$laposte_carriers) || in_array((int)$value,$carriers_drop)){
|
||||
return '<img width="18px" src="/img/carriers/logo_socol.png" alt="" />';
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user