forked from GNUsocial/gnu-social
Extended profile - don't check end date if experience entry has current checked
This commit is contained in:
parent
724dba668a
commit
974d0c48f6
@ -288,7 +288,7 @@ class ProfileDetailSettingsAction extends ProfileSettingsAction
|
|||||||
$expArray[] = array(
|
$expArray[] = array(
|
||||||
'company' => $company,
|
'company' => $company,
|
||||||
'start' => $this->parseDate('Start', $start, true),
|
'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
|
'current' => ($current == 'false') ? false : true
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user