Extended profile - don't check end date if experience entry has current checked

This commit is contained in:
Zach Copley 2011-03-16 00:50:43 -07:00
parent 724dba668a
commit 974d0c48f6
1 changed files with 1 additions and 1 deletions

View File

@ -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
);
}