Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Avoid warnings "must return string" warnings with mailboxes with nume…
…ric names.

Fixes "__toString must return string value" errors when a mailbox name contains
only numeric characters.
  • Loading branch information
mrubinsk committed Feb 6, 2014
1 parent 9e27c58 commit ff63399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion framework/Imap_Client/lib/Horde/Imap/Client/Mailbox.php
Expand Up @@ -106,7 +106,7 @@ public function __get($name)
$this->_utf7imap = true;
}
}
return $this->_utf8;
return (string)$this->_utf8;
}
}

Expand Down

0 comments on commit ff63399

Please sign in to comment.