Page creation -> navigation published

edited March 2012 in Bug Reports
I noticed when creating pages that the navigation link would be published, even if the page isn't published, thus creating a dead link. This happened when either A) You selected "Published: No" while creating the page. And B) A user who is unable to publish pages creates a page.

To fix this I added the following lines at line 385 on fuel/modules/controllers/pages.php:

$save['published'] = $this->input->post('published'); if (!$this->fuel_auth->has_permission($this->permission, 'publish')) { $save['published'] = 'no'; }
I hope this helps others.

Comments

  • edited 4:43PM
    Thanks for the fix... we'll look to rolling that in probably in the next bigger release.
Sign In or Register to comment.