mirror of
https://github.com/sbrl/Pepperminty-Wiki.git
synced 2024-11-22 04:23:01 +00:00
Fix issue with redirects on the recent changes page
This commit is contained in:
parent
d887c80f32
commit
7f771423da
1 changed files with 1 additions and 1 deletions
|
@ -48,7 +48,7 @@ register_module([
|
|||
$title_display = human_filesize($rchange->newsize - $rchange->sizediff) . " -> " . human_filesize($rchange->newsize);
|
||||
|
||||
$pageDisplayName = $rchange->page;
|
||||
if(isset($pageindex->$pageDisplayName) and $pageindex->$pageDisplayName->redirect)
|
||||
if(isset($pageindex->$pageDisplayName) and !empty($pageindex->$pageDisplayName->redirect))
|
||||
$pageDisplayName = "<em>$pageDisplayName</em>";
|
||||
|
||||
$content .= "\t\t\t<li><a href='?page=" . rawurlencode($rchange->page) . "'>$pageDisplayName</a> <span class='editor'>✎ $rchange->user</span> <time class='cursor-query' title='" . date("l jS \of F Y \a\\t h:ia T", $rchange->timestamp) . "'>" . human_time_since($rchange->timestamp) . "</time> <span class='$size_display_class' title='$title_display'>($size_display)</span></li>\n";
|
||||
|
|
Loading…
Reference in a new issue