forked from extern/egroupware
quiet a warning when viewing the felaimail with no profile selected.
This commit is contained in:
parent
f4c740db27
commit
98c6d1bc3c
@ -951,8 +951,10 @@
|
||||
$allFolders = array();
|
||||
|
||||
// create a list of all folders, also the ones which are not subscribed
|
||||
foreach($folders as $key => $value)
|
||||
if (isset($folders) && is_array($folders))
|
||||
{
|
||||
foreach($folders as $key => $value)
|
||||
{
|
||||
$folderParts = explode('.',$key);
|
||||
$partCount = count($folderParts);
|
||||
$string = '';
|
||||
@ -962,6 +964,7 @@
|
||||
$string .= $folderParts[$i];
|
||||
$allFolders[$string] = $folderParts[$i];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// keep track of the last parent id
|
||||
|
Loading…
Reference in New Issue
Block a user