Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Error on passing model by reference #52

Closed
nops opened this Issue Jul 8, 2010 · 0 comments

Comments

Projects
None yet
1 participant

nops commented Jul 8, 2010

In the function "_uploadFile" if the field is checked for remove the file, the function "_nullifyDataFields" is called passing in the first param the $model->alias
But in the _nullifyDataFields function is expected the model reference.

Line 651(?)

Bug: $data = $this->_nullifyDataFields($model->alias, $fieldName, $data, $options);

Fix: $data = $this->_nullifyDataFields($model, $fieldName, $data, $options);

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment