Alignment fix
[squirrelmail.git] / plugins / calendar / calendar_data.php
index 3d6fe0afb8bddf01119a6325f61dc016abdcff9f..d1feb75f95475bbedc579923439020b1dcd9c7e7 100644 (file)
@@ -3,7 +3,7 @@
 /**
  * functions to operate on calendar data files.
  *
- * @copyright © 2002-2006 The SquirrelMail Project Team
+ * @copyright 2002-2012 The SquirrelMail Project Team
  * @license http://opensource.org/licenses/gpl-license.php GNU Public License
  * @version $Id$
  * @package plugins
@@ -116,7 +116,7 @@ function writecalendardata() {
 
                 $calstr = "$calfoo[key]|$calbar[key]|$calfoobar[length]|$calfoobar[priority]|$calfoobar[title]|$calfoobar[message]|$calfoobar[reminder]\n";
                 if(sq_fwrite($fp, $calstr, 4096) === FALSE) {
-                    error_box(_("Could not write calendar file %s", "$username.$year.cal.tmp"), $color);
+                    error_box(_("Could not write calendar file %s", "$username.$year.cal.tmp"));
                 }
             }
 
@@ -181,5 +181,3 @@ function update_event($date, $time) {
         fclose ($fp);
     }
 }
-
-?>
\ No newline at end of file