Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/core
diff options
context:
space:
mode:
authorideaship <ideaship@users.noreply.github.com>2014-03-06 19:03:00 +0400
committerideaship <ideaship@users.noreply.github.com>2014-03-06 19:03:00 +0400
commite08dbf80dc1e9e571a4f827acca7715703955366 (patch)
tree17022c474cc93240240a3a13ee3f6206d38e9e11 /core
parent1785c0c9b9fcdc6e9a8e58f13f45e5b53364882a (diff)
fix: use print_escaped for radio button "checked"
use of p() results in escaped HTML code: checked=&quot;checked&quot; where it should be: checked="checked"
Diffstat (limited to 'core')
-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; ?>