summaryrefslogtreecommitdiffstats
path: root/application/views/user
diff options
context:
space:
mode:
Diffstat (limited to 'application/views/user')
-rw-r--r--application/views/user/profile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/application/views/user/profile.php b/application/views/user/profile.php
index bcd740612..1840f9fc1 100644
--- a/application/views/user/profile.php
+++ b/application/views/user/profile.php
@@ -7,7 +7,7 @@
</div>
</div>
- <?php if(auth_driver_function_implemented("get_email")) { ?>
+ <?php if($profile_data["email"] !== null) { ?>
<div class="control-group">
<label class="control-label" for="inputEmail">Email</label>
<div class="controls">