Sorry, that attached patch file wasn't quite sane. (Some crud at the bottom.)
/Håkan Lindqvist
diff -urN roundcube/program/lib/imap.inc roundcubetest/program/lib/imap.inc
--- roundcube/program/lib/imap.inc 2006-03-27 21:06:30.000000000 +0200
+++ roundcubetest/program/lib/imap.inc 2006-04-21 00:27:57.000000000 +0200
@@ -638,7 +638,8 @@
if (!$fields[$field]) return false;
$fp = $conn->fp;
- $command = 's SORT ('.$field.') US-ASCII ALL '."$add\r\n";
+ //$command = 's SORT ('.$field.') US-ASCII ALL '."$add\r\n";
+ $command = 's SORT ('.$field.') US-ASCII ALL'.($add?' ':'')."$add\r\n";
$line = $data = '';
if (!fputs($fp, $command)) return false;
smime.p7s
Description: S/MIME cryptographic signature
