Merge branch 'ticket-11210-imageVP' into develop
This commit is contained in:
commit
fe03ca4ed1
@ -951,7 +951,7 @@ class AdminPrivateSalesSales extends AdminTab {
|
||||
|
||||
foreach(Language::getLanguages(FALSE) as $language) {
|
||||
foreach(array_keys($this->imagelist) as $img) {
|
||||
if((int)$language['id_lang'] == 3
|
||||
if((int)$language['id_lang'] == 3 && ($img == 'liston' || $img == 'listoff')
|
||||
&& (!isset($_FILES['img_'.$img.'_'.$language['id_lang']]) || $_FILES['img_'.$img.'_'.$language['id_lang']]['name'] == '')
|
||||
&& (isset($_FILES['img_'.$img.'_2']) && $_FILES['img_'.$img.'_2']['name'] != '')
|
||||
) {
|
||||
@ -1027,7 +1027,7 @@ class AdminPrivateSalesSales extends AdminTab {
|
||||
|
||||
foreach(Language::getLanguages(FALSE) as $language) {
|
||||
foreach(array_keys($this->imagelist) as $img) {
|
||||
if((int)$language['id_lang'] == 3
|
||||
if((int)$language['id_lang'] == 3 && ($img == 'liston' || $img == 'listoff')
|
||||
&& (!isset($_FILES['img_'.$img.'_'.$language['id_lang']]) || $_FILES['img_'.$img.'_'.$language['id_lang']]['name'] == '')
|
||||
&& (isset($_FILES['img_'.$img.'_2']) && $_FILES['img_'.$img.'_2']['name'] != '')
|
||||
) {
|
||||
|
Loading…
Reference in New Issue
Block a user