Fix folder_list handler. Folders table rows are indexed starting with 1.
This commit is contained in:
parent
60635448fb
commit
a69febd59f
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ class kolab_folders extends rcube_plugin
|
||||||
|
|
||||||
// Add type-based style for table rows
|
// Add type-based style for table rows
|
||||||
// See kolab_folders::folder_class_name()
|
// See kolab_folders::folder_class_name()
|
||||||
for ($i=0, $cnt=$table->size(); $i<$cnt; $i++) {
|
for ($i=1, $cnt=$table->size(); $i<=$cnt; $i++) {
|
||||||
$attrib = $table->get_row_attribs($i);
|
$attrib = $table->get_row_attribs($i);
|
||||||
$folder = $attrib['foldername']; // UTF7-IMAP
|
$folder = $attrib['foldername']; // UTF7-IMAP
|
||||||
$data = $folderdata[$folder];
|
$data = $folderdata[$folder];
|
||||||
|
|
Loading…
Add table
Reference in a new issue