git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@8277
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Fixed SquirrelSpell error output. Patch courtesy David Boone.
- Fixed bug in IMAP read routines that treated "0" as false instead of
a string (patch courtesy Maurice Makaay).
+ - Fixed PHP notice when header property value is blank
Version 1.5.0
--------------------
if ($pos > 0) {
$key = trim(substr($prop, 0, $pos));
$val = trim(substr($prop, $pos+1));
- if ($val{0} == '"') {
+ if (strlen($val) > 0 && $val{0} == '"') {
$val = substr($val, 1, -1);
}
$propResultArray[$key] = $val;
}
}
-?>
\ No newline at end of file
+?>