summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Petry <pvince81@owncloud.com>2014-03-10 16:12:39 +0100
committerVincent Petry <pvince81@owncloud.com>2014-03-10 16:12:39 +0100
commit23eeb898a97933ebb61b5e325c8ab99a2e3c1596 (patch)
tree0c624b9440ba558f97fe44c4c451962ccd353762
parent9fb9684da70ded0809465620855bc5340f6f5483 (diff)
parente08dbf80dc1e9e571a4f827acca7715703955366 (diff)
downloadnextcloud-server-23eeb898a97933ebb61b5e325c8ab99a2e3c1596.tar.gz
nextcloud-server-23eeb898a97933ebb61b5e325c8ab99a2e3c1596.zip
Merge pull request #7600 from ideaship/fix_escaped_html
fix: use print_escaped for radio button "checked"
-rw-r--r--core/templates/installation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/templates/installation.php b/core/templates/installation.php
index e2d296a713f..709207e7977 100644
--- a/core/templates/installation.php
+++ b/core/templates/installation.php
@@ -95,7 +95,7 @@
<input type="hidden" id="dbtype" name="dbtype" value="<?php p($type) ?>" />
<?php else: ?>
<input type="radio" name="dbtype" value="<?php p($type) ?>" id="<?php p($type) ?>"
- <?php p($_['dbtype'] === $type ? 'checked="checked" ' : '') ?>/>
+ <?php print_unescaped($_['dbtype'] === $type ? 'checked="checked" ' : '') ?>/>
<label class="<?php p($type) ?>" for="<?php p($type) ?>"><?php p($label) ?></label>
<?php endif; ?>
<?php endforeach; ?>