summaryrefslogtreecommitdiff
path: root/Project-Unite
diff options
context:
space:
mode:
authorMichael <[email protected]>2017-05-09 20:08:01 -0400
committerMichael <[email protected]>2017-05-09 20:08:01 -0400
commit9c5d57e4f58fa5e5261212fcbcada74bf5754a81 (patch)
tree7b8c47b1eec02e01e8d19cedfec3a3ea7a3446a5 /Project-Unite
parent3d9ab5e32d4e1751d7935baa2f1a1c04ea59f016 (diff)
downloadproject-unite-9c5d57e4f58fa5e5261212fcbcada74bf5754a81.tar.gz
project-unite-9c5d57e4f58fa5e5261212fcbcada74bf5754a81.tar.bz2
project-unite-9c5d57e4f58fa5e5261212fcbcada74bf5754a81.zip
More fixes.
Diffstat (limited to 'Project-Unite')
-rw-r--r--Project-Unite/Views/Shared/_Layout.cshtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/Project-Unite/Views/Shared/_Layout.cshtml b/Project-Unite/Views/Shared/_Layout.cshtml
index 8c21f1c..29278bc 100644
--- a/Project-Unite/Views/Shared/_Layout.cshtml
+++ b/Project-Unite/Views/Shared/_Layout.cshtml
@@ -156,7 +156,7 @@
<p><strong>We'd like to formally thank Philip Adams.</strong> Without him, we would not exist. Phil has contributed years of work and help to ShiftOS and is the original developer of the game. He has written code that is still used to this day in modern ShiftOS, and much of the ideas and mechanics in the game are from his mind.</p>
<p>Check Phil out on YouTube: <a href="http://youtube.com/OSFirstTimer">OSFirstTimer</a> | <a href="https://www.youtube.com/user/AstralPhaser">AstralPhaser</a> | <a href="https://www.youtube.com/channel/UC2wLfbZrHQOxP2e5zkxYRjA">YouTube Millionaire</a></p>
- @if (User.Identity.IsAdmin())
+ @if ((bool)User.Identity?.IsAdmin())
{
<p>@Html.ActionLink("Administrator Control Panel", "Index", "Admin")</p>}
</footer>