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:
Ralf Becker 2005-02-24 14:10:26 +00:00
parent 28b05351bc
commit aada45e0c9

View File

@ -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
{ {