Update copyrights to 2010
[squirrelmail.git] / src / addrbook_search_html.php
index 3f42e6397116a200bef0851a339cb3e0c44ab307..e884f24f667ae274694183245d708a0ace5e4d3d 100644 (file)
@@ -6,7 +6,7 @@
  *
  * This file is included from compose.php
  *
- * @copyright © 1999-2009 The SquirrelMail Project Team
+ * @copyright 1999-2010 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package squirrelmail
@@ -53,7 +53,7 @@ function addr_insert_hidden() {
    }
 
    if (is_object($composeMessage) && $composeMessage->entities)
-       echo addHidden('attachments', serialize($composeMessage->entities));
+       echo addHidden('attachments', urlencode(serialize($composeMessage->entities)));
 
    echo addHidden('session', $session).
         addHidden('subject', $subject).