mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-01 12:23:50 +01:00
fixed bug: not all custom fields are shown readonly if only editing the status is allowed (thought they will not be saved anyway)
This commit is contained in:
parent
28b05351bc
commit
aada45e0c9
@ -457,6 +457,11 @@
|
|||||||
{
|
{
|
||||||
$readonlys[$name] = $name != 'info_status';
|
$readonlys[$name] = $name != 'info_status';
|
||||||
}
|
}
|
||||||
|
// need to set all customfields extra, as they are not set if empty
|
||||||
|
foreach($this->bo->customfields as $name => $value)
|
||||||
|
{
|
||||||
|
$readonlys['#'.$name] = true;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user