diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 19:47:42 +0200 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2012-06-11 19:47:42 +0200 |
commit | 68f819ee2077717bdbd1c9cd9a8e4c22e6685368 (patch) | |
tree | 40dab094278aefcecf1366c52a9a24e34f87bb99 /apps/calendar/lib/app.php | |
parent | ad36fc8938409975df61c00953555b3e11435a76 (diff) | |
download | nextcloud-server-68f819ee2077717bdbd1c9cd9a8e4c22e6685368.tar.gz nextcloud-server-68f819ee2077717bdbd1c9cd9a8e4c22e6685368.zip |
Removed double sanitization
Diffstat (limited to 'apps/calendar/lib/app.php')
-rw-r--r-- | apps/calendar/lib/app.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/calendar/lib/app.php b/apps/calendar/lib/app.php index 2cd28c0f782..ff7ad1cb937 100644 --- a/apps/calendar/lib/app.php +++ b/apps/calendar/lib/app.php @@ -377,8 +377,8 @@ class OC_Calendar_App{ $lastmodified = ($last_modified)?$last_modified->getDateTime()->format('U'):0; $output = array('id'=>(int)$event['id'], - 'title' => htmlspecialchars(($event['summary']!=NULL || $event['summary'] != '')?$event['summary']: self::$l10n->t('unnamed')), - 'description' => isset($vevent->DESCRIPTION)?htmlspecialchars($vevent->DESCRIPTION->value):'', + 'title' => ($event['summary']!=NULL || $event['summary'] != '')?$event['summary']: self::$l10n->t('unnamed'), + 'description' => isset($vevent->DESCRIPTION)?$vevent->DESCRIPTION->value:'', 'lastmodified'=>$lastmodified); $dtstart = $vevent->DTSTART; |