Skip to content

Commit

Permalink
Fix special-use comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Apr 1, 2014
1 parent 80a6acd commit 32bea5d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions imp/lib/Prefs/Special/SpecialMboxes.php
Expand Up @@ -123,6 +123,9 @@ protected function _getSpecialUse($use)
}

$special_use = array();
/* $val['attributes'] is normalized to lowercase. */
$use = Horde_String::lower($use);

foreach ($this->_cache as $val) {
if (in_array($use, $val['attributes'])) {
$mbox_ob = IMP_Mailbox::get($val['mailbox']);
Expand Down

0 comments on commit 32bea5d

Please sign in to comment.