Fix setting header fields in dimp compose page.
authorMichael M Slusarz <slusarz@curecanti.org>
Tue, 3 Aug 2010 01:55:56 +0000 (19:55 -0600)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 3 Aug 2010 01:55:56 +0000 (19:55 -0600)
imp/compose-dimp.php

index 47c01d4..d20fa58 100644 (file)
@@ -43,7 +43,7 @@ $compose_disable = !IMP::canCompose();
 /* The headers of the message. */
 $header = array();
 foreach (array('to', 'cc', 'bcc', 'subject') as $v) {
-    $header[$v] = $vars->$v;
+    $header[$v] = strval($vars->$v);
 }
 
 $fillform_opts = array('noupdate' => 1);