Commit f5274aef authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Do not consider "archived" news items when deciding to stick a "new"

icon next to the news link.
parent b9890f9c
......@@ -239,6 +239,7 @@ function WRITESIDEBAR() {
DBQueryFatal("SELECT DATE_FORMAT(date, '%M %e') AS prettydate, ".
" (TO_DAYS(NOW()) - TO_DAYS(date)) AS age ".
"FROM webnews ".
"WHERE archived=0 ".
"ORDER BY date DESC ".
"LIMIT 1");
$newsDate = "";
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment