Array type coercion for params in DatabaseDriver #24

Merged
vlw merged 1 commit from refs/pull/24/head into master 2023-12-26 12:33:38 +01:00
vlw commented 2023-12-26 12:33:30 +01:00 (Migrated from codeberg.org)

If the $param passed to DatabaseDriver->exec() or DatabaseDriver->exec_bool() is anything but an array, execute_query() will not accept it. This PR coerces any type to an array before passing it to execute_query.

If the $param passed to `DatabaseDriver->exec()` or `DatabaseDriver->exec_bool()` is anything but an array, `execute_query()` will not accept it. This PR coerces any type to an array before passing it to execute_query.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
vlw/php-mysql!24
No description provided.