Explorar o código

1 == 1.1 => true? changed to === fixed this.

stekkel %!s(int64=23) %!d(string=hai) anos
pai
achega
a0abf08b16
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      class/mime.class.php

+ 1 - 1
class/mime.class.php

@@ -1623,7 +1623,7 @@ class message
 	    $exclude = false;
 	    foreach ($exclude_id as $excl)
 	    {
-               if ($entity->entity_id == $excl)
+               if ($entity->entity_id === $excl)
 	       {
 	          $exclude = true;
 	       }