Closed bagaskarala closed 4 years ago
It returns the group id if it successfully inserted and false
if not.
It returns the group id if it successfully inserted and
false
if not.
I reproduce the error below:
Database before new group created
My code to create group
When i call the function
It success created, but i wonder why returned value is 0
I'm using PHP 7.3.10 and codeigniter 3.1.11
I see what you mean and fixed it already on master branch, this was caused by the pre-caching feature 🤦♂.
I see what you mean and fixed it already on master branch, this was caused by the pre-caching feature 🤦♂.
Okay thanks it now works properly
:+1: Thank everyone
Why
$this->aauth->create_group("editor", "group for editor");
return 0 when it is success, and return nothing when failed?When i this code i if block, it will never return true value