Changeset 245

Show
Ignore:
Timestamp:
04/06/08 16:14:03 (9 months ago)
Author:
shupp
Message:

fix Accounts::addAccountNow() - send a full userInfo array as 3rd argument

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/Framework/Module/Accounts.php

    r220 r245  
    127127        } 
    128128        // Update gecos 
    129         $result = $this->user->modUser($this->domain, $emailArray[0], array('comment' => $_REQUEST['comment'])); 
     129        $userInfo = $this->user->userInfo($this->domain, $emailArray[0]); 
     130        $userInfo['comment'] = $_REQUEST['comment']; 
     131        $result = $this->user->modUser($this->domain, $userInfo['name'], $userInfo); 
    130132 
    131133        $this->setData('message', _("Account Added Successfully"));