Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Validate that the key parameter is a string
This pull request validates that the `$key` parameter provided to the function is actually a string before trying to use this. I came across this as I was working to modify JTable to be able to support multiple primary keys in a somewhat transparent way. By default JTable passes through it's keys onto the database `insertObject` and `updateObject` function which works well for single keys but not properly for `insertObject` when the `$key` is an array.
- Loading branch information