Skip to content

Commit

Permalink
comment typo fix in MY_Model
Browse files Browse the repository at this point in the history
  • Loading branch information
David McReynolds committed Nov 5, 2014
1 parent 7d4dfbf commit f714a6f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fuel/modules/fuel/core/MY_Model.php
Original file line number Diff line number Diff line change
Expand Up @@ -5384,7 +5384,7 @@ public function __set($var, $val)
$set_method = "set_".$var;
$this->$set_method($val);
}
// set in foreign keys only if it is an object
// set any foreign keys only if it is an object
else if (is_object($val) AND ($val instanceof Data_record) AND in_array($var.'_id', array_keys($foreign_keys)))
{
$this->_fields[$var] = $val;
Expand Down

0 comments on commit f714a6f

Please sign in to comment.