- Timestamp:
- 10/26/12 14:02:39 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sandbox/webservice/api/rest/mail/RenameFolderResource.php
r6165 r7469 8 8 if($this-> isLoggedIn()) 9 9 { 10 $old_id = $this->getParam('folderID');11 $new_name = $this->getParam('folderName');10 $old_id = mb_convert_encoding($this->getParam('folderID'), "UTF-8", "ISO-8859-1"); 11 $new_name = mb_convert_encoding($this->getParam('folderName'), "UTF-8", "ISO-8859-1"); 12 12 13 if(!$this->getImap()->folder_exists( $old_id))13 if(!$this->getImap()->folder_exists( mb_convert_encoding($old_id, "UTF7-IMAP", "UTF-8"))) 14 14 Errors::runException("MAIL_INVALID_OLD_FOLDER"); 15 15
Note: See TracChangeset
for help on using the changeset viewer.