Skip to content

Commit

Permalink
Update Template.php
Browse files Browse the repository at this point in the history
  • Loading branch information
GlazerMann authored Nov 5, 2023
1 parent 0321073 commit bb61333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Template.php
Original file line number Diff line number Diff line change
Expand Up @@ -3752,7 +3752,7 @@ public function tidy_parameter(string $param) : void {
}
if (in_array(str_replace(array('-','0','1','2','3','4','5','6','7','8','9'), '', strtolower($param)), ['authorlink', 'chapterlink', 'contributorlink',
'editorlink', 'episodelink', 'interviewerlink', 'inventorlink', 'serieslink',
'subjectlink', 'titlelink', 'translatorlink']) && $this->has($param)) {
'subjectlink', 'titlelink', 'translatorlink']) && $this->has($param) && (stripos($this->get($param), 'http') === FALSE)) {
$this->set($param, safe_preg_replace('~_~u', ' ', $this->get($param)));
}

Expand Down

0 comments on commit bb61333

Please sign in to comment.