Skip to content

Commit

Permalink
Merge pull request #1465 from ms609/GlazerMann-patch-6
Browse files Browse the repository at this point in the history
access-date is alias to accessdate
  • Loading branch information
Martin R. Smith committed Mar 15, 2019
2 parents 35b9334 + 6ce4486 commit c3b7336
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -2638,9 +2638,10 @@ public function tidy_parameter($param) {
// Parameters are listed alphabetically, though those with numerical content are grouped under "year"

case 'accessdate':
if ($this->has('accessdate') && $this->blank(['url', 'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl']))
case 'access-date':
if ($this->has($pmatch[1]) && $this->blank(['url', 'chapter-url', 'chapterurl', 'contribution-url', 'contributionurl']))
{
$this->forget('accessdate');
$this->forget($pmatch[1]);
}
return;

Expand Down

0 comments on commit c3b7336

Please sign in to comment.