diff options
Diffstat (limited to 'views/partials/header.ejs')
| -rw-r--r-- | views/partials/header.ejs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/views/partials/header.ejs b/views/partials/header.ejs index c706aa1..e0e98c2 100644 --- a/views/partials/header.ejs +++ b/views/partials/header.ejs @@ -2,7 +2,7 @@ <span class="topLinks"> [[ if (logged_in) { ]] - [[ if (profile && user._id == profile._id) { ]] + [[ if (profile && String(user._id) == String(profile._id)) { ]] <a href="/profile" data-role="edit-profile-modal" class="topLink editProfile">Edit Profile <span class="icon-ios7-gear-outline"></span></a> [[ } else if (! profile) { ]] <a href="/profile" class="topLink">View Profile</a> |
