Remove warnings
This commit is contained in:
parent
d9ffba72f0
commit
e90a60d4ee
@ -1027,7 +1027,7 @@ class CMailFile
|
|||||||
$mimedone=0;
|
$mimedone=0;
|
||||||
$out = "";
|
$out = "";
|
||||||
|
|
||||||
if ($filename_list)
|
if (is_array($filename_list))
|
||||||
{
|
{
|
||||||
$filename_list_size=count($filename_list);
|
$filename_list_size=count($filename_list);
|
||||||
for($i=0;$i < $filename_list_size;$i++)
|
for($i=0;$i < $filename_list_size;$i++)
|
||||||
@ -1199,7 +1199,7 @@ class CMailFile
|
|||||||
/**
|
/**
|
||||||
* Attach an image to email (mode = 'mail')
|
* Attach an image to email (mode = 'mail')
|
||||||
*
|
*
|
||||||
* @param array $images_list Tableau
|
* @param array $images_list Array of array image
|
||||||
* @return string Chaine images encodees
|
* @return string Chaine images encodees
|
||||||
*/
|
*/
|
||||||
function write_images($images_list)
|
function write_images($images_list)
|
||||||
@ -1207,7 +1207,7 @@ class CMailFile
|
|||||||
// phpcs:enable
|
// phpcs:enable
|
||||||
$out = '';
|
$out = '';
|
||||||
|
|
||||||
if ($images_list)
|
if (is_array($images_list))
|
||||||
{
|
{
|
||||||
foreach ($images_list as $img)
|
foreach ($images_list as $img)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user