Skip to content
This repository has been archived by the owner on Nov 26, 2017. It is now read-only.

Validate that the key parameter is a string #1486

Merged
merged 1 commit into from Aug 23, 2012
Merged

Validate that the key parameter is a string #1486

merged 1 commit into from Aug 23, 2012

Commits on Aug 23, 2012

  1. 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.
    pasamio committed Aug 23, 2012
    Configuration menu
    Copy the full SHA
    399353d View commit details
    Browse the repository at this point in the history