the variables by reference to the call. This makes mbxs_tree an undefined
and unusued variable and might cause errors in php 4.4+ (especially with
objects).
git-svn-id: https://svn.code.sf.net/p/squirrelmail/code/trunk/squirrelmail@10309
7612ce4b-ef26-0410-bec9-
ea0150e637f0
- Undefined variable in rare case in view_header.php
- Variable by reference fix in printer_friendly_bottom.php.
- Undefined index in addressbook backends.
+ - sqimap_utf7_decode_mbx_tree returns variables by reference, rather than a
+ return value (#1351822)
Version 1.5.0 - 2 February 2004
* @since 1.5.0
*/
function sqimap_utf7_decode_mbx_tree(&$mbx_tree) {
+
if (strtoupper($mbx_tree->mailboxname_full) == 'INBOX')
$mbx_tree->mailboxname_sub = _("INBOX");
else
if ($mbx_tree->mbxs) {
$iCnt = count($mbx_tree->mbxs);
for ($i=0;$i<$iCnt;++$i) {
- $mbxs_tree->mbxs[$i] = sqimap_utf7_decode_mbx_tree($mbx_tree->mbxs[$i]);
+ sqimap_utf7_decode_mbx_tree($mbx_tree->mbxs[$i]);
}
}
}
return false;
}
-?>
\ No newline at end of file
+?>