Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
oscarotero committed May 25, 2016
1 parent 659273d commit 6dac49c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/RowCollection.php
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ public function __set($name, $value)
}

//Join the relations and rows
self::join($table, $this->rows, $value->getTable(), $value, $relation[1]);
self::join($table, $this->rows, $value->getTable(), $value, $relation);
$this->loadedRelations[] = $name;
}

Expand Down

0 comments on commit 6dac49c

Please sign in to comment.