Page creation -> navigation published
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
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