-
Notifications
You must be signed in to change notification settings - Fork 114
Open
Labels
Description
Created by Gallagher, 30th Nov 2012. (originally Lighthouse ticket #45):
If you do a find on a model which uses ArraySource datasource and the Model::records property is empty, then the returned value is something like:
array(
'Model' => array()
)
Whereas I think the returned value should be:
array()
If you want I can fix this myself, add a test and create a pull request, but I am wondering is there a situation (maybe when the model is a related model) where it should return the value which it does or is it just plan incorrect.