Skip to content
Snippets Groups Projects
Commit 7dcdb608 authored by Jared Hancock's avatar Jared Hancock
Browse files

Support disabling a page

parent c477b20c
No related branches found
No related tags found
No related merge requests found
...@@ -237,7 +237,7 @@ class Page { ...@@ -237,7 +237,7 @@ class Page {
.', `type`='.db_input($vars['type']) .', `type`='.db_input($vars['type'])
.', name='.db_input($vars['name']) .', name='.db_input($vars['name'])
.', body='.db_input(Format::safe_html($vars['body'])) .', body='.db_input(Format::safe_html($vars['body']))
.', isactive='.db_input(isset($vars['isactive'])?1:0) .', isactive='.db_input($vars['isactive'] ? 1 : 0)
.', notes='.db_input($vars['notes']); .', notes='.db_input($vars['notes']);
if($id) { if($id) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment