forked from extern/egroupware
cats function
This commit is contained in:
parent
d3bafb6bc9
commit
c3d72d5af5
@ -50,7 +50,7 @@
|
||||
|
||||
if ($cat_main && $cat_parent)
|
||||
{
|
||||
$main = $c->return_main($cat_parent);
|
||||
$main = $c->id2name($cat_parent,'main');
|
||||
if ($main != $cat_main)
|
||||
{
|
||||
$error[$errorcount++] = lang('You have selected an invalid main category !');
|
||||
|
@ -63,7 +63,7 @@
|
||||
|
||||
if ($cat_main && $cat_parent)
|
||||
{
|
||||
$main = $c->return_main($cat_parent);
|
||||
$main = $c->id2name($cat_parent,'main');
|
||||
if ($main != $cat_main)
|
||||
{
|
||||
$error[$errorcount++] = lang('You have selected an invalid main category !');
|
||||
|
@ -64,7 +64,7 @@
|
||||
|
||||
if ($cat_main && $cat_parent)
|
||||
{
|
||||
$main = $c->return_main($cat_parent);
|
||||
$main = $c->id2name($cat_parent,'main');
|
||||
if ($main != $cat_main)
|
||||
{
|
||||
$error[$errorcount++] = lang('You have selected an invalid main category');
|
||||
|
@ -69,7 +69,7 @@
|
||||
|
||||
if ($cat_main && $cat_parent)
|
||||
{
|
||||
$main = $c->return_main($cat_parent);
|
||||
$main = $c->id2name($cat_parent,'main');
|
||||
if ($main != $cat_main)
|
||||
{
|
||||
$error[$errorcount++] = lang('You have selected an invalid main category');
|
||||
|
Loading…
Reference in New Issue
Block a user