Fix firstName() and lastName().
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 29 Jan 2009 21:52:46 +0000 (22:52 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Thu, 29 Jan 2009 21:52:46 +0000 (22:52 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
classes/profile.php

index 025521f..d224585 100644 (file)
@@ -112,12 +112,12 @@ class Profile
 
     public function firstName()
     {
-        return $this->first_name;
+        return $this->firstname;
     }
 
     public function lastName()
     {
-        return $this->last_name;
+        return $this->lastname;
     }
 
     public function isFemale()