Skip to content
This repository has been archived by the owner on Aug 13, 2023. It is now read-only.

Commit

Permalink
Update Entity.php
Browse files Browse the repository at this point in the history
  • Loading branch information
rez1dent3 authored Apr 20, 2017
1 parent 81be111 commit 5105501
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ORM/Entity.php
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ protected function oneToMany(array &$config, array &$arguments)
}
else if ($config['model'] === $config['item'])
{
$key = $this->orm->mapPK($config['item']);;
$key = $this->orm->mapPK($config['item']);
$id = $config['item'] . ucfirst($key);
$value = $this->$id;
}
Expand Down

0 comments on commit 5105501

Please sign in to comment.