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:08:27 +00:00
parent 3ed44951a7
commit 15c225d84b

View File

@ -457,6 +457,11 @@
{
$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
{