Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Strict in_array for mixed id variable types #1075
Setting the in_array check to strict, as this would return true
When you say PDO, are you talking about using cakephp to retrieve the rows or are you just using PDO directly.
Performing a $Model->find('list'); on a table with rows that contain integers will return (int) values as the key not strings. Without looking at the model code for list, im assuming that maybe its doing a type cast if the value is a possible int value?
added a commit
this pull request
Jan 24, 2013
This is making trouble with HABTM relations and multiple select/checboxes:
If I'm not making myself clear, please make me know...