Commit a23e6eb8 by Bagus Pambudi

fix bug simpan update menu

parent 2c43ab11
......@@ -407,7 +407,7 @@ class MenuController extends Controller
if ($menu->rZh) {
$dataZh['name'] = $data['titleizh'];
$menuZh = $this->repoSa->findId($menu->rZh->id);
$menuZh = $this->repoZh->findId($menu->rZh->id);
$this->repoZh->update($dataZh, $menuZh);
} else {
$dataZh['menu_id'] = $menu->id;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment