Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

populate translation pk with parent pk

  • Loading branch information...
commit 3847c928a29a7ddc95a3e5368f03a3403d0a4e2e 1 parent 01f6537
@elvenpath authored
Showing with 1 addition and 0 deletions.
  1. +1 −0  Translatable.php
View
1  Translatable.php
@@ -377,6 +377,7 @@ private function loadTranslationModel($language, $createNew = true)
$model = new $class;
$column = $this->languageColumn;
$model->$column = $language;
+ $model->$pkName = $this->owner->primaryKey;
}
return $model;

0 comments on commit 3847c92

Please sign in to comment.
Something went wrong with that request. Please try again.