mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-19 13:35:49 +00:00
if the provided year is this year, don't show it twice
This commit is contained in:
parent
42edb6b7a6
commit
f51c7dc9e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue