summaryrefslogtreecommitdiff
path: root/forum/utils/calendar.php
diff options
context:
space:
mode:
authordeva <deva>2009-01-07 07:27:14 +0000
committerdeva <deva>2009-01-07 07:27:14 +0000
commit15f9963b42c0e85a576facf5db5ecf0e48e37217 (patch)
treeb90f5e94cb7a6c1d24fa977b4b90463cacf91da6 /forum/utils/calendar.php
parentd6085157d11880bf1106a19a3adc34a381ba4d41 (diff)
Fixed missing stripslahes upon posting of new calendar events.
Diffstat (limited to 'forum/utils/calendar.php')
-rw-r--r--forum/utils/calendar.php3
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;