[Kolab-devel] server/kolab/kolab/admin/user vacation.php,1.5.2.2,1.5.2.3 by martin at doto.intevation.de

root at intevation.de root at intevation.de
Thu Jun 12 14:46:05 CEST 2003


Update of /kolabrepository/server/kolab/kolab/admin/user
In directory doto:/tmp/cvs-serv16177

Modified Files:
      Tag: KOLAB_1_0
	vacation.php 
Log Message:
Martin K.: Fix for issue https://intevation.de/roundup/roundup.cgi/kroupware/issue269
Unfortunately it took me so long because the description of the
problem/proposed solution led me in the wrong direction.


Index: vacation.php
===================================================================
RCS file: /kolabrepository/server/kolab/kolab/admin/user/vacation.php,v
retrieving revision 1.5.2.2
retrieving revision 1.5.2.3
diff -u -d -r1.5.2.2 -r1.5.2.3
--- vacation.php	11 Jun 2003 13:37:27 -0000	1.5.2.2
+++ vacation.php	12 Jun 2003 12:46:03 -0000	1.5.2.3
@@ -97,7 +97,8 @@
 //          $newscript .= "\n# keep next two lines:\n# return date: ".$day."-".$month."-".$year."\n# notification interval: ".$vacnotify;
 	  $newscript .= "\nvacation :days ".$vacnotify;
 //	  $mesg = "\n\"Abwesenheitsnotiz bis zum ".$day.". ".$month." ".$year.".\n";
-	  $newscript .= " \"".$vacmsg."\";\n";
+          $vacmsg_utf8=utf8_encode($vacmsg);
+          $newscript .= " \"".$vacmsg_utf8."\";\n";
 //          print $day."-".$month."-".$year." - vacnotify:".$vacnotify."\n";
           upload_script ($newscript,$scriptname);
 	  





More information about the devel mailing list