mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-07 14:39:56 +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>';
|
||||
}
|
||||
// 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']];
|
||||
if ($content['info_status'] != 'done') $content['info_datecompleted'] = '';
|
||||
|
Loading…
Reference in New Issue
Block a user