mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
update function edit
This commit is contained in:
parent
c2c91dd405
commit
b7f318560d
@ -272,7 +272,7 @@
|
|||||||
{
|
{
|
||||||
$s .= '<' . lang('Global') . '>';
|
$s .= '<' . lang('Global') . '>';
|
||||||
}
|
}
|
||||||
$s .= "</option>\n";
|
$s .= '</option>' . "\n";
|
||||||
}
|
}
|
||||||
return $s;
|
return $s;
|
||||||
}
|
}
|
||||||
@ -385,13 +385,8 @@
|
|||||||
$cat_main = $cat_parent;
|
$cat_main = $cat_parent;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($cat_main && ($cat_main > 0))
|
if ($cat_parent && ($cat_parent > 0))
|
||||||
{
|
{
|
||||||
if (!$cat_parent)
|
|
||||||
{
|
|
||||||
$cat_parent = $cat_main;
|
|
||||||
}
|
|
||||||
|
|
||||||
$this->db2->query("select cat_level from phpgw_categories where cat_id='$cat_parent'",__LINE__,__FILE__);
|
$this->db2->query("select cat_level from phpgw_categories where cat_id='$cat_parent'",__LINE__,__FILE__);
|
||||||
$this->db2->next_record();
|
$this->db2->next_record();
|
||||||
$cat_level = $this->db2->f('cat_level')+1;
|
$cat_level = $this->db2->f('cat_level')+1;
|
||||||
|
Loading…
Reference in New Issue
Block a user