diff options
-rw-r--r-- | forum/utils/calendar.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/forum/utils/calendar.php b/forum/utils/calendar.php index 054cdf8..006922c 100644 --- a/forum/utils/calendar.php +++ b/forum/utils/calendar.php @@ -10,6 +10,9 @@ else $date = $date - (date("N", $date) - 1) * 24 * 60 * 60; //echo $date; if($action=="addentry") { + $title = stripslashes($title); + $description = stripslashes($description); + $time = strtotime($txtdate . " " . $txttimefrom . ":00"); if($time !== FALSE) { $duration = strtotime($txtdate . " " . $txttimeto . ":00") - $time; |