diff --git a/bl-kernel/admin/controllers/new-page.php b/bl-kernel/admin/controllers/new-page.php index 528372cc..e5395b93 100644 --- a/bl-kernel/admin/controllers/new-page.php +++ b/bl-kernel/admin/controllers/new-page.php @@ -16,9 +16,8 @@ // POST Method // ============================================================================ -if( $_SERVER['REQUEST_METHOD'] == 'POST' ) -{ - if( createPage($_POST)!==false ) { +if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { + if (createPage($_POST)!==false) { Alert::set( $Language->g('Page added successfully') ); } diff --git a/bl-kernel/admin/views/edit-page.php b/bl-kernel/admin/views/edit-page.php index bae9afa1..a8aa4ae9 100644 --- a/bl-kernel/admin/views/edit-page.php +++ b/bl-kernel/admin/views/edit-page.php @@ -94,7 +94,14 @@ echo '