Skip to content

Commit 9039b44

Browse files
author
Tihomir Banov
committed
Save method overwrite fix
1 parent 5ac4924 commit 9039b44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/Despark/LaravelDbLocalization/i18nModelTrait.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,8 @@ public function save(array $options = [])
170170
$options = \Input::all();
171171
}
172172

173+
parent::save($options);
174+
173175
$this->saveTranslations($this->id, $options);
174176

175177
return $this;

0 commit comments

Comments
 (0)