Skip to content

Commit

Permalink
Bug #14049: Ensure mailbox name is a valid string
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Jul 10, 2015
1 parent b83851b commit 0e2d583
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Mailbox.php
Original file line number Diff line number Diff line change
Expand Up @@ -1545,7 +1545,7 @@ public static function prefTo($mbox)
global $injector;

$cache = $injector->getInstance('IMP_Mailbox_SessionCache');
$mbox_str = strval($mbox);
$mbox_str = $ret = strval($mbox);

if (($pref_to = $cache->getPrefTo($mbox_str)) !== false) {
return $pref_to;
Expand Down

0 comments on commit 0e2d583

Please sign in to comment.