Revize 62f1fc4f
Přidáno uživatelem David Raška před asi 9 roky(ů)
application/controllers/members.php | ||
---|---|---|
|
||
if ($this->acl_check_edit('Members_Controller', 'user_id'))
|
||
{
|
||
$form->dropdown('user_id')
|
||
$form->dropdown('added_by_user_id')
|
||
->label('Added by')
|
||
->options($arr_engineers)
|
||
->selected($member->user_id)
|
||
... | ... | |
}
|
||
|
||
if ($this->acl_check_edit('Members_Controller', 'user_id'))
|
||
$member->user_id = $form_data['user_id'];
|
||
$member->user_id = $form_data['added_by_user_id'];
|
||
|
||
if ($this->acl_check_edit(get_class($this),'comment',$member->id))
|
||
$member->comment = $form_data['comment'];
|
Také k dispozici: Unified diff
refs #1014: Fixes connecting place changing when changing added by user