diff --git a/plugins/ExtendedProfile/profiledetailsettingsaction.php b/plugins/ExtendedProfile/profiledetailsettingsaction.php index 01a8fa9c7b..13bf43b927 100644 --- a/plugins/ExtendedProfile/profiledetailsettingsaction.php +++ b/plugins/ExtendedProfile/profiledetailsettingsaction.php @@ -288,7 +288,7 @@ class ProfileDetailSettingsAction extends ProfileSettingsAction $expArray[] = array( 'company' => $company, 'start' => $this->parseDate('Start', $start, true), - 'end' => $this->parseDate('End', $end, true), + 'end' => ($current == 'false') ? $this->parseDate('End', $end, true) : null, 'current' => ($current == 'false') ? false : true ); }