Skip to content
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

Bug with setRelation using multiple fields #27

Open
invernomuto-git opened this issue Apr 20, 2023 · 0 comments
Open

Bug with setRelation using multiple fields #27

invernomuto-git opened this issue Apr 20, 2023 · 0 comments

Comments

@invernomuto-git
Copy link

return $this->db->escape($value);

escape_str function used in

protected function set_ajax_list_queries($state_info = null)

add single quote by default as documentation
https://www.codeigniter.com/user_guide/database/queries.html?highlight=escape#db-escape

and this create a malformed query in case of a setRelation using multiple fields

Fix using instead escapeString?

Sorry for any mistakes, it's my first issue

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant