$user_list = ttTeamHelper::getActiveUsers(array('putSelfFirst'=>true));
if (count($user_list) > 1) {
$form->addInput(array('type'=>'combobox',
$user_list = ttTeamHelper::getActiveUsers(array('putSelfFirst'=>true));
if (count($user_list) > 1) {
$form->addInput(array('type'=>'combobox',
$existingDuration = $dataArray[$rowNumber][$dayHeader]['duration'];
// If posted value is not null, check and normalize it.
if ($postedDuration) {
$existingDuration = $dataArray[$rowNumber][$dayHeader]['duration'];
// If posted value is not null, check and normalize it.
if ($postedDuration) {
$err->add($i18n->getKey('error.field'), $i18n->getKey('label.duration'));
$result = false; break; // Break out. Stop any further processing.
$err->add($i18n->getKey('error.field'), $i18n->getKey('label.duration'));
$result = false; break; // Break out. Stop any further processing.