summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2013-02-19 10:21:00 -0800
committerLukas Reschke <lukas@statuscode.ch>2013-02-19 10:21:00 -0800
commitc88f514078f4151f6f7cdf7d5b565b699cb02d53 (patch)
tree7b5a148505a5c0e0f89143db1fc7d6cd23e03cc0
parent368c1eba1f19dc9ec30382094e653f9bf5231581 (diff)
parente2faa92385b774b1540f77337d12a99fecbd2b99 (diff)
downloadnextcloud-server-c88f514078f4151f6f7cdf7d5b565b699cb02d53.tar.gz
nextcloud-server-c88f514078f4151f6f7cdf7d5b565b699cb02d53.zip
Merge pull request #1781 from owncloud/p-stable45
p() is not available in ownCloud 4.5
-rw-r--r--apps/files_external/templates/settings.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/templates/settings.php b/apps/files_external/templates/settings.php
index b8d7f55ea81..b6807f79e33 100644
--- a/apps/files_external/templates/settings.php
+++ b/apps/files_external/templates/settings.php
@@ -17,7 +17,7 @@
<?php $_['mounts'] = array_merge($_['mounts'], array('' => array())); ?>
<?php foreach ($_['mounts'] as $mountPoint => $mount): ?>
<tr <?php echo ($mountPoint != '') ? 'class="'.$mount['class'].'"' : 'id="addMountPoint"'; ?>>
- <td class="mountPoint"><input type="text" name="mountPoint" value="<?php echo p($mountPoint); ?>" placeholder="<?php echo $l->t('Mount point'); ?>" /></td>
+ <td class="mountPoint"><input type="text" name="mountPoint" value="<?php echo OC_Util::sanitizeHTML($mountPoint); ?>" placeholder="<?php echo $l->t('Mount point'); ?>" /></td>
<?php if ($mountPoint == ''): ?>
<td class="backend">
<select id="selectBackend" data-configurations='<?php echo json_encode($_['backends']); ?>'>