mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-28 01:29:05 +01:00
fixed wrong unit-label
This commit is contained in:
parent
9e2b744ce1
commit
cb59056b85
@ -397,7 +397,7 @@
|
|||||||
elseif (!$readonly || $value)
|
elseif (!$readonly || $value)
|
||||||
{
|
{
|
||||||
$cell['no_lang'] = 2;
|
$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
|
return True; // extra Label is ok
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user