Skip to content

Commit

Permalink
Nouveau User dans MADMIN
Browse files Browse the repository at this point in the history
  • Loading branch information
apuyou committed Oct 2, 2013
1 parent 40448a0 commit 4dd9578
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Payutc/Service/MADMIN.php
Original file line number Diff line number Diff line change
Expand Up @@ -485,14 +485,14 @@ public function getMsgPerso($funID) {
* @return Array $userDetails
*/
public function getUserDetails() {
if($this->User->getState() != 1) {
return array();
} else {
if($this->User) {
return array(
"firstname" => $this->getFirstname(),
"lastname" => $this->getLastname(),
"credit" => $this->getCredit()
);
} else {
return array();
}
}
}
Expand Down

0 comments on commit 4dd9578

Please sign in to comment.