summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-06-11 19:49:24 +0200
committerLukas Reschke <lukas@statuscode.ch>2012-06-11 19:49:24 +0200
commitf9bf34340c7618a90f8ac3452b7d89085882cab3 (patch)
tree1d51719d615626404b5e2e70934175be84b603ee
parent68f819ee2077717bdbd1c9cd9a8e4c22e6685368 (diff)
downloadnextcloud-server-f9bf34340c7618a90f8ac3452b7d89085882cab3.tar.gz
nextcloud-server-f9bf34340c7618a90f8ac3452b7d89085882cab3.zip
Removed unecessary sanitization
-rw-r--r--apps/tasks/templates/part.taskform.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/tasks/templates/part.taskform.php b/apps/tasks/templates/part.taskform.php
index c00560903b0..0a25ed33c91 100644
--- a/apps/tasks/templates/part.taskform.php
+++ b/apps/tasks/templates/part.taskform.php
@@ -5,7 +5,7 @@
<input type="text" id="location" name="location" placeholder="<?php echo $l->t('Location of the task');?>" value="<?php echo isset($_['details']->LOCATION) ? $_['details']->LOCATION[0]->value : '' ?>">
<br>
<label for="categories"><?php echo $l->t('Categories'); ?></label>
- <input id="categories" name="categories" type="text" placeholder="<?php echo $l->t('Separate categories with commas'); ?>" value="<?php echo isset($_['categories']) ? htmlspecialchars($_['categories']) : '' ?>">
+ <input id="categories" name="categories" type="text" placeholder="<?php echo $l->t('Separate categories with commas'); ?>" value="<?php echo isset($_['categories']) ? $_['categories'] : '' ?>">
<a class="action edit" onclick="$(this).tipsy('hide');OCCategories.edit();" title="<?php echo $l->t('Edit categories'); ?>"><img alt="<?php echo $l->t('Edit categories'); ?>" src="<?php echo OCP\image_path('core','actions/rename.svg')?>" class="svg action" style="width: 16px; height: 16px;"></a>
<br>
<label for="due"><?php echo $l->t('Due'); ?></label>