LSattr_html :: image : fix PHP warning

This commit is contained in:
Benjamin Renard 2020-05-08 15:16:42 +02:00
parent 5674a99a7c
commit fb7efd9a14

View file

@ -43,7 +43,7 @@ class LSattr_html_image extends LSattr_html {
return;
}
if (count($data)>1) {
if ($data && count($data)>1) {
LSerror :: addErrorCode('LSattr_html_03','password');
}