summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2017-03-29 10:02:10 +0200
committerGitHub <noreply@github.com>2017-03-29 10:02:10 +0200
commita88edce54f26eab316e414933ee90160ab31111a (patch)
tree86c128ced0b52e0c50eaaf8d514112d05b176470
parent784e06073bc683bb4007c968ad59592f79367ba5 (diff)
parent99675b46e92dc59c1971158ee9295bc3242fd3b8 (diff)
downloadnextcloud-server-a88edce54f26eab316e414933ee90160ab31111a.tar.gz
nextcloud-server-a88edce54f26eab316e414933ee90160ab31111a.zip
Merge pull request #4130 from nextcloud/replace-useless-print-unescaped-with-p
Replace unecessary unescaped prints with print
-rw-r--r--apps/updatenotification/templates/admin.php2
-rw-r--r--core/templates/error.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/apps/updatenotification/templates/admin.php b/apps/updatenotification/templates/admin.php
index 78337eb313b..28a47992410 100644
--- a/apps/updatenotification/templates/admin.php
+++ b/apps/updatenotification/templates/admin.php
@@ -23,7 +23,7 @@
<a href="<?php p($_['downloadLink']); ?>" class="button<?php if ($_['updaterEnabled']) { p(' hidden'); } ?>"><?php p($l->t('Download now')) ?></a>
<?php } ?>
<?php } else { ?>
- <strong><?php print_unescaped($l->t('Your version is up to date.')); ?></strong>
+ <strong><?php p($l->t('Your version is up to date.')); ?></strong>
<span class="icon-info svg" title="<?php p($l->t('Checked on %s', [$lastCheckedDate])) ?>"></span>
<?php } ?>
diff --git a/core/templates/error.php b/core/templates/error.php
index 6e044b72414..b5e8c8eab3f 100644
--- a/core/templates/error.php
+++ b/core/templates/error.php
@@ -3,7 +3,7 @@
<li class='error'>
<?php p($error['error']) ?><br>
<?php if(isset($error['hint']) && $error['hint']): ?>
- <p class='hint'><?php print_unescaped($error['hint']) ?></p>
+ <p class='hint'><?php p($error['hint']) ?></p>
<?php endif;?>
</li>
<?php endforeach ?>