[PHPPlanner-cvs] phpplanner/lib calendar.class.php,1.2,1.3
Status: Beta
Brought to you by:
tomsommer
From: Jeppe A. <no...@us...> - 2004-04-24 16:48:49
|
Update of /cvsroot/phpplanner/phpplanner/lib In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5180/lib Modified Files: calendar.class.php Log Message: * Replaced UNIX_TIMESTAMP with time() in create_event, did some conflicts on my windows testing server Index: calendar.class.php =================================================================== RCS file: /cvsroot/phpplanner/phpplanner/lib/calendar.class.php,v retrieving revision 1.2 retrieving revision 1.3 diff -u -d -r1.2 -r1.3 --- calendar.class.php 7 Sep 2003 16:07:53 -0000 1.2 +++ calendar.class.php 24 Apr 2004 16:48:37 -0000 1.3 @@ -90,7 +90,7 @@ { mysql_query("INSERT INTO cal_items (`date`,`caption`,`description`,`added_by`,`last_updated`,`private`,`color`,`created`) - VALUES(". $stamp .", '". $caption ."', '". $description ."', ". $userid .", NOW(), '". $private ."', $color, UNIX_TIMESTAMP)") or die(mysql_error()); + VALUES(". $stamp .", '". $caption ."', '". $description ."', ". $userid .", NOW(), '". $private ."', $color, " . time() . ")") or die(mysql_error()); send_header('Location: day.php?s='. $stamp); } else |