Browse Source

Fix r2339 for release

v0.2.1@2348
thomascube 17 years ago
parent
commit
75a09466ac
  1. 1
      index.php
  2. 4
      program/steps/mail/check_recent.inc

1
index.php

@ -183,7 +183,6 @@ $action_map = array(
'remove-attachment' => 'attachments.inc',
'display-attachment' => 'attachments.inc',
'upload' => 'attachments.inc',
'check-recent' => 'check_recent.inc',
),
'addressbook' => array(

4
program/steps/mail/check_recent.inc

@ -66,8 +66,8 @@ foreach ($a_mailboxes as $mbox_name) {
}
}
}
else if ($IMAP->messagecount($mbox_name, 'UNSEEN', $check_all)) {
$OUTPUT->command('set_unread_count', $mbox_name, $IMAP->messagecount($mbox_name, 'UNSEEN', $check_all));
else if ($unseen = $IMAP->messagecount($mbox_name, 'UNSEEN', $check_all)) {
$OUTPUT->command('set_unread_count', $mbox_name, $unseen);
}
}

Loading…
Cancel
Save