summaryrefslogtreecommitdiffstats
path: root/web/lib/aur.inc
diff options
context:
space:
mode:
Diffstat (limited to 'web/lib/aur.inc')
-rw-r--r--web/lib/aur.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/web/lib/aur.inc b/web/lib/aur.inc
index c18365cc..a9095cd9 100644
--- a/web/lib/aur.inc
+++ b/web/lib/aur.inc
@@ -334,7 +334,7 @@ function set_lang() {
# common header
#
-function html_header() {
+function html_header($title="") {
global $_SERVER;
global $_COOKIE;
global $_POST;
@@ -405,6 +405,8 @@ function html_header() {
}
}
+ $title = htmlspecialchars($title, ENT_QUOTES);
+
include('header.php');
return;
}