Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
visa4 committed Jun 7, 2016
1 parent 8b4031a commit 6a09d89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Listener/NightClubGirlRestListener.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ public function onPostUpdate(Event $e)
$id = $e->getParam('id');
$girl = $this->getGirlFromId($id);
$image = $e->getParam('image');
$image->setId($id);

if ($girl instanceof AvatarAwareInterface && $girl instanceof ActiveRecordInterface) {

$girl->setAvatar($this->getUrlFromImage($image, $serviceLocator));
Expand Down

0 comments on commit 6a09d89

Please sign in to comment.