Skip to content
Browse files

Merge branch 'refs/heads/master' into demo

  • Loading branch information...
2 parents 3444c9d + a78e8be commit d091726b668d2b1e5bc16ce7aa2c4df253bfb41f @daylightstudio committed Feb 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 fuel/application/core/MY_Model.php
View
2 fuel/application/core/MY_Model.php
@@ -2703,7 +2703,7 @@ public function refresh()
$key_field = (array) $this->_parent_model->key_field();
foreach($key_field as $key)
{
- $where[$key] = $values;
+ $where[$key] = $this->$key;
}
$data = $this->_parent_model->find_one($where, NULL, 'array');

0 comments on commit d091726

Please sign in to comment.
Something went wrong with that request. Please try again.