diff --git a/code/CMSProfileController.php b/code/CMSProfileController.php index 2751bc41f..6c69eeac4 100644 --- a/code/CMSProfileController.php +++ b/code/CMSProfileController.php @@ -35,7 +35,6 @@ public function getEditForm($id = null, $fields = null) return $form; } - $form->Fields()->removeByName('LastVisited'); $form->Fields()->push(new HiddenField('ID', null, Security::getCurrentUser()->ID)); $form->Actions()->push( FormAction::create('save', _t(CMSMain::class . '.SAVE', 'Save'))