Changeset 5598 in subversion
- Timestamp:
- Dec 13, 2011 6:53:03 AM (18 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/roundcubemail/program/include/rcube_imap.php
r5576 r5598 1401 1401 * @param string $sort_field Header field to sort by 1402 1402 * @access public 1403 * @todo: Search criteria should be provided in non-IMAP format, eg. array 1403 1404 */ 1404 1405 function search($mailbox='', $str='ALL', $charset=NULL, $sort_field=NULL) … … 1521 1522 $string = substr($str, $string_offset - 1, $m[0]); 1522 1523 $string = rcube_charset_convert($string, $charset, $dest_charset); 1523 if ( !$string)1524 if ($string === false) 1524 1525 continue; 1525 $res .= s printf("%s{%d}\r\n%s", substr($str, $last, $m[1] - $last - 1), strlen($string),$string);1526 $res .= substr($str, $last, $m[1] - $last - 1) . rcube_imap_generic::escape($string); 1526 1527 $last = $m[0] + $string_offset - 1; 1527 1528 }
Note: See TracChangeset
for help on using the changeset viewer.
