summaryrefslogtreecommitdiff
path: root/data/templates/default
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-08-17 18:24:26 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-08-17 18:24:26 +0200
commit880b94498ab07edc0990af183c2491b89eefe066 (patch)
treec1d32acf9cc80f6d43705fcc44f30251cbf8adcd /data/templates/default
parent196db46097a8e7bdce478c5c8559d3ecf0529114 (diff)
downloadsemanticscuttle-880b94498ab07edc0990af183c2491b89eefe066.tar.gz
semanticscuttle-880b94498ab07edc0990af183c2491b89eefe066.tar.bz2
Fix bug: Subtitle was not escaped
Diffstat (limited to 'data/templates/default')
-rw-r--r--data/templates/default/top.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/templates/default/top.inc.php b/data/templates/default/top.inc.php
index 17ec982..f2adba4 100644
--- a/data/templates/default/top.inc.php
+++ b/data/templates/default/top.inc.php
@@ -49,7 +49,7 @@ if(!isset($_GET['popup'])) {
<?php
if (isset($subtitle)) {
- echo '<h2>'. $subtitle ."</h2>\n";
+ echo '<h2>'. htmlspecialchars($subtitle) ."</h2>\n";
}
if(DEBUG_MODE) {
echo '<p class="error">'. T_('Admins, your installation is in "Debug Mode" ($debugMode = true). To go in "Normal Mode" and hide debugging messages, change $debugMode to false into config.php.') ."</p>\n";