Open-AudIT https://www.open-audit.org/phpBB3/ |
|
OA 1.12.6 user problem https://www.open-audit.org/phpBB3/viewtopic.php?f=20&t=6527 |
Page 1 of 1 |
Author: | omega4471 [ Fri May 20, 2016 11:17 pm ] |
Post subject: | OA 1.12.6 user problem |
With new version i can't add user. Thanks |
Author: | jpa [ Sun May 22, 2016 2:29 pm ] |
Post subject: | Re: OA 1.12.6 user problem |
Yes, many changes recently and it looks like this broke. Quick fix that works for me before Mark can confirm and fix. Edit the if-else at line 180... From this: [code] if (is_null($this->m_oa_user->select_user($details->user_name))) { #user does not exist - good $details->user_id = $this->m_oa_user->add_user($details); $this->m_oa_group->edit_user_groups($details); } else {[/code] To this: [code] if (!$this->m_oa_user->select_user($details->name)) { #user does not exist - good $details->id = $this->m_oa_user->add_user($details); $this->m_oa_group->edit_user_groups($details); } else {[/code] |
Author: | Mark [ Tue May 24, 2016 9:34 am ] |
Post subject: | Re: OA 1.12.6 user problem |
My apologies - this one slipped through. I have added the fix for the next release. For now, just patch as per JPA's comments. |
Page 1 of 1 | All times are UTC + 10 hours |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |