Commit 853f1b43 authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review

Merge "Bug 1749836: Show 'Deleted user' author without link on Legal admin page"

parents 0026e623 4baadd23
......@@ -34,6 +34,7 @@ foreach ($data as $key => $content) {
array_push($latestVersions, $key);
}
$content->displayname = display_name($content->userid, null, true);
$content->userdeleted = get_field('usr', 'deleted', 'id', $content->userid);
}
$selectedtab = $fs;
......
......@@ -69,6 +69,7 @@ if ($privacies) {
array_push($types, $content->type);
}
$content->displayname = display_name($content->userid, null, true);
$content->userdeleted = get_field('usr', 'deleted', 'id', $content->userid);
}
}
// Add 0 to $latestVersions, to allow the creation of a first privacy/T&C
......
<tr>
<td>{$result->version}</td>
<td>{if $result->userid == '0'}
<td>{if $result->userid == '0' || $result->userdeleted == '1'}
{$result->displayname}
{else}
<a href="{$WWWROOT}user/view.php?id={$result->userid}">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment