if NIL is description, doesn't display it
[squirrelmail.git] / functions / mime.php
index 18e2dd7bb7df92519469b237949aeb730aefecc4..3bc9b5640a5d4c184cbda952dceb10d26d7ac79f 100644 (file)
          $structure = trim($structure);
          $char = substr($structure, 0, 1);
 
-         if (substr($structure, 0, 3) == "nil") {
+         if (strtolower(substr($structure, 0, 3)) == "nil") {
             $text = "";
             $structure = substr($structure, 3);
          } else if ($char == "\"") {