I've just installed a new RH 7.3 box using the qvcs-guide (qmail, vmailmgr, courier, etc), however, I replaced the squirrelmail 1.2.9 with 1.2.10. Everything seems to work fine, however, whenever I follow one of the links at the top of the page, i.e. Options, Help, etc. I get these messages on the screen:
Warning: Empty substring in /usr/share/squirrelmail/functions/imap_mailbox.php on line 269
Warning: Empty substring in /usr/share/squirrelmail/functions/imap_mailbox.php on line 282
I went to that file and the code in and around those lines is:
/* Count number of delimiters ($delimiter) in folder name */
$mailbox = trim($line_lsub[$g]);
$dm_count = substr_count($mailbox, $delimiter);
if (substr($mailbox, -1) == $delimiter) {
/* If name ends in delimiter, decrement count by one */
$dm_count--;
And
$indent = $dm_count - ( substr_count($folder_prefix, $delimiter));
if ($indent > 0) {
$boxesall[$g]['formatted'] = str_repeat(' ', $indent);
}
Respectively.
Again, everything works, but I don't want my users seeing all of these errors. Any ideas?
Thanks,
David
"....It is the soldier, who salutes the flag,
Who serves beneath the flag,
And whose coffin is draped by the flag,
Who allows the protester to burn the flag."
--Charles M. Province
