diff --git a/bl-kernel/admin/controllers/edit-content.php b/bl-kernel/admin/controllers/edit-content.php index 9fcbae16..821bd9fa 100644 --- a/bl-kernel/admin/controllers/edit-content.php +++ b/bl-kernel/admin/controllers/edit-content.php @@ -43,11 +43,6 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { Alert::set( $L->g('The changes have been saved') ); } } else { - // If the checkbox is not selected the form doesn't send the field - $_POST['noindex'] = isset($_POST['noindex'])?true:false; - $_POST['nofollow'] = isset($_POST['nofollow'])?true:false; - $_POST['noarchive'] = isset($_POST['noarchive'])?true:false; - $key = editPage($_POST); if ($key!==false) { Alert::set( $L->g('The changes have been saved') ); diff --git a/bl-kernel/admin/controllers/new-content.php b/bl-kernel/admin/controllers/new-content.php index 882e24ef..b0e7a69d 100644 --- a/bl-kernel/admin/controllers/new-content.php +++ b/bl-kernel/admin/controllers/new-content.php @@ -19,11 +19,6 @@ checkRole(array('admin', 'editor', 'author')); // ============================================================================ if ($_SERVER['REQUEST_METHOD'] == 'POST') { - // If the checkbox is not selected the form doesn't send the field - $_POST['noindex'] = isset($_POST['noindex'])?true:false; - $_POST['nofollow'] = isset($_POST['nofollow'])?true:false; - $_POST['noarchive'] = isset($_POST['noarchive'])?true:false; - createPage($_POST); Redirect::page('content'); }