mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 16:48:49 +01:00
fixed wrong unit-label
This commit is contained in:
parent
9e2b744ce1
commit
cb59056b85
@ -397,7 +397,7 @@
|
||||
elseif (!$readonly || $value)
|
||||
{
|
||||
$cell['no_lang'] = 2;
|
||||
$cell['label'] .= ($cell['label'] ? ' ' : '') . '%s '.($input_format == 'h' ? lang('hours') : lang('days'));
|
||||
$cell['label'] .= ($cell['label'] ? ' ' : '') . '%s '.($unit == 'h' ? lang('hours') : lang('days'));
|
||||
}
|
||||
return True; // extra Label is ok
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user