if the provided year is this year, don't show it twice

This commit is contained in:
Adam D 2011-12-19 18:25:07 -08:00
parent 42edb6b7a6
commit f51c7dc9e9

View file

@ -99,7 +99,7 @@
$year = $match[2];
}
if ($match[1]) {
$year = $match[1] . '-' . $year;
$year = $match[1] == $year ? $year : $match[1] . '-' . $year;
}
$request = array_pop($request_uri);
}