mirror of
https://github.com/samsonjs/mit-license.git
synced 2026-04-27 15:07:42 +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];
|
$year = $match[2];
|
||||||
}
|
}
|
||||||
if ($match[1]) {
|
if ($match[1]) {
|
||||||
$year = $match[1] . '-' . $year;
|
$year = $match[1] == $year ? $year : $match[1] . '-' . $year;
|
||||||
}
|
}
|
||||||
$request = array_pop($request_uri);
|
$request = array_pop($request_uri);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue