Skip to content
Snippets Groups Projects
Commit 935327d9 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix scrutinizer warning

parent 83644dcb
No related branches found
No related tags found
No related merge requests found
......@@ -1478,7 +1478,7 @@ class Categorie extends CommonObject
$handle=opendir($dir);
if (is_resource($handle))
{
while (($file = readdir($handle)) != false)
while (($file = readdir($handle)) !== false)
{
if (dol_is_file($dir.$file) && preg_match('/(\.jpg|\.bmp|\.gif|\.png|\.tiff)$/i',$dir.$file))
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment