From fcb30db59f301468fdd696964c07d27a3d09def8 Mon Sep 17 00:00:00 2001 From: Marcel Korpel Date: Wed, 9 Jan 2013 17:48:57 +0000 Subject: Remove double htmlspecialchars This is already done in header.php; doing this double will result in & in title element Signed-off-by: Lukas Fleischer --- web/lib/aur.inc.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'web/lib') diff --git a/web/lib/aur.inc.php b/web/lib/aur.inc.php index 018d5c8..387d81d 100644 --- a/web/lib/aur.inc.php +++ b/web/lib/aur.inc.php @@ -303,8 +303,6 @@ function html_header($title="") { global $LANG; global $SUPPORTED_LANGS; - $title = htmlspecialchars($title, ENT_QUOTES); - include('header.php'); return; } -- cgit v1.2.3-54-g00ecf From 07edcdab17f78ef39c3b975ea3cdbac38de8a800 Mon Sep 17 00:00:00 2001 From: canyonknight Date: Mon, 14 Jan 2013 21:44:12 +0000 Subject: stats.inc.php: Remove unnecessary account type lookup Signed-off-by: canyonknight Signed-off-by: Lukas Fleischer --- web/lib/stats.inc.php | 3 --- 1 file changed, 3 deletions(-) (limited to 'web/lib') diff --git a/web/lib/stats.inc.php b/web/lib/stats.inc.php index 60973e9..cfae794 100644 --- a/web/lib/stats.inc.php +++ b/web/lib/stats.inc.php @@ -43,9 +43,6 @@ function user_table($userid, $dbh) { $flagged_outdated = db_cache_value($q, $dbh, 'user_flagged_outdated:' . $userid); - # If the user is a TU calculate the number of the packages - $atype = account_from_sid($_COOKIE["AURSID"]); - include('stats/user_table.php'); } -- cgit v1.2.3-54-g00ecf