mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-08 17:14:36 +01:00
fixed creation of sub-cats, to automaticaly set the main-cat (as it already set the level) from the parent
This commit is contained in:
parent
b30b9bd9c0
commit
da83e39c89
@ -581,6 +581,7 @@
|
||||
if ($values['parent'] > 0)
|
||||
{
|
||||
$values['level'] = $this->id2name($values['parent'],'level')+1;
|
||||
$values['main'] = $this->id2name($values['parent'],'main');
|
||||
}
|
||||
|
||||
$values['descr'] = $this->db->db_addslashes($values['descr']);
|
||||
|
Loading…
Reference in New Issue
Block a user