Skip to content

Commit

Permalink
Fixed another typo in my previous commit (#23035)
Browse files Browse the repository at this point in the history
  • Loading branch information
mnishihan authored and taylorotwell committed Feb 5, 2018
1 parent 0b2bc52 commit 21caf1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Illuminate/Database/Eloquent/Relations/Pivot.php
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ protected function setKeysForSaveQuery(Builder $query)
));

return $query->where($this->relatedKey, $this->getOriginal(
$this->relatedKey, $this->getAttribute($this->foreignKey)
$this->relatedKey, $this->getAttribute($this->relatedKey)
));
}

Expand Down

0 comments on commit 21caf1e

Please sign in to comment.