mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-23 22:39:00 +01:00
fix a bug regarding the check of infolog_status existing in known status for the type selected
This commit is contained in:
parent
5856176c7a
commit
08fed99081
@ -1003,7 +1003,7 @@ class infolog_ui
|
|||||||
if ($content['js']) $content['js'] = '<script>'.$content['js'].'</script>';
|
if ($content['js']) $content['js'] = '<script>'.$content['js'].'</script>';
|
||||||
}
|
}
|
||||||
// on a type-change, set the status to the default status of that type, if the actual status is not supported by the new type
|
// on a type-change, set the status to the default status of that type, if the actual status is not supported by the new type
|
||||||
if (!in_array($content['info_status'],$this->bo->status[$content['info_type']]))
|
if (!array_key_exists($content['info_status'],$this->bo->status[$content['info_type']]))
|
||||||
{
|
{
|
||||||
$content['info_status'] = $this->bo->status['defaults'][$content['info_type']];
|
$content['info_status'] = $this->bo->status['defaults'][$content['info_type']];
|
||||||
if ($content['info_status'] != 'done') $content['info_datecompleted'] = '';
|
if ($content['info_status'] != 'done') $content['info_datecompleted'] = '';
|
||||||
|
Loading…
Reference in New Issue
Block a user