summaryrefslogtreecommitdiff
path: root/templates/themes/basic/info.php
diff options
context:
space:
mode:
authorMichael Save <savetheinternet@tinyboard.org>2012-02-14 20:45:27 +1100
committerMichael Save <savetheinternet@tinyboard.org>2012-02-14 20:45:27 +1100
commit0b421167171ab29199dbd4732c5182aaec094e21 (patch)
tree62db64a2a980fe0bc3d971cb474370ea752a563a /templates/themes/basic/info.php
parentcba5bc9c708b9ce61d8badf50542e51ed6f0fef2 (diff)
XSS in basic theme installation
Diffstat (limited to 'templates/themes/basic/info.php')
-rw-r--r--templates/themes/basic/info.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/themes/basic/info.php b/templates/themes/basic/info.php
index d29a834a..b782a6d4 100644
--- a/templates/themes/basic/info.php
+++ b/templates/themes/basic/info.php
@@ -47,7 +47,7 @@
if(!function_exists('build_install')) {
function build_install($settings) {
if(!is_numeric($settings['no_recent']) || $settings['no_recent'] < 0)
- return Array(false, '<strong>' . $settings['no_recent'] . '</strong> is not a non-negative integer.');
+ return Array(false, '<strong>' . utf8tohtml($settings['no_recent']) . '</strong> is not a non-negative integer.');
}
}