Browse Source

XSS in basic theme installation

pull/40/head
Michael Save 12 years ago
parent
commit
0b42116717
  1. 2
      templates/themes/basic/info.php

2
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.');
}
}

Loading…
Cancel
Save