-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
enchantments #367
Comments
Implemented. Thanks! |
It's me who's mistaken or there it must be ...->num_rows() instead of ...->num_row()??? Of course, if I try to create a group CI triggers an error
|
Ah thanks, it's fixed now. @alexy sent in a PR. |
Thank-you for fixing this. When creating a Group, it would dump onto blank page. However, by using my custom template, it would generate a bunch of errors. Implemented the changes above and now it's behaving normally... redirects back to "auth" page after Group is created. I also changed this line in the auth Controller to force new group names to all lower-case, following the established naming convention...
$new_group_id = $this->ion_auth->create_group(strtolower($this->input->post('group_name')), $this->input->post('description'));
One may or may not want to make a similar change to the "edit_group" function. |
Thanks @sparky672! I'll leave it out of the official code but it will be archived here if someone needs something similar. Thanks. |
@sparky672 good observation. I myself use the strtolower. But, in some situations, maybe someone wishes to use upper and lower cases, so, it's best if for now the group name will give freedom to the user in deciding the case of the letters. But, it will be a food idea to force the user name in $this->ion_auth->register() to strtolower. |
In ion_auth_model line[1692], I found this situation
with
Also,
triggers error
a better approach can be:
the solution I choose to solve this problems is:
The text was updated successfully, but these errors were encountered: