Skip to content

Commit

Permalink
fixed set attribute on wrong level
Browse files Browse the repository at this point in the history
  • Loading branch information
simonfunk committed Dec 30, 2015
1 parent f15a013 commit 00e7798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Entities/Menuitem.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@ public function isRoot()
*/
public function setPageIdAttribute($value)
{
$this->page_id = ! empty($value) ? $value : null;
$this->attributes['page_id'] = ! empty($value) ? $value : null;
}
}

0 comments on commit 00e7798

Please sign in to comment.