diff options
author | deva <deva> | 2009-01-07 07:27:14 +0000 |
---|---|---|
committer | deva <deva> | 2009-01-07 07:27:14 +0000 |
commit | 15f9963b42c0e85a576facf5db5ecf0e48e37217 (patch) | |
tree | b90f5e94cb7a6c1d24fa977b4b90463cacf91da6 | |
parent | d6085157d11880bf1106a19a3adc34a381ba4d41 (diff) |
Fixed missing stripslahes upon posting of new calendar events.
-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; |