summaryrefslogtreecommitdiffstats
path: root/application/views/user/profile.php
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xinu.at>2013-09-16 16:49:58 +0200
committerFlorian Pritz <bluewind@xinu.at>2013-09-16 16:49:58 +0200
commitbb9f9274e8c2d661a1adffd87c87c3d81ec47b4d (patch)
tree3a484bddf9f11da67c1c743443ae5140cf455fb9 /application/views/user/profile.php
parent2172c2049fc8b8eca5dbed7b659a089e20d1fadd (diff)
Duser: Rework optional functions
Not implemented functions return null and code using these no longer has to check if they are implemented, but it has to handle null properly. Signed-off-by: Florian Pritz <bluewind@xinu.at>
Diffstat (limited to 'application/views/user/profile.php')
-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">