cats function

This commit is contained in:
bettina 2001-07-02 02:24:15 +00:00
parent d3bafb6bc9
commit c3d72d5af5
4 changed files with 4 additions and 4 deletions

View File

@ -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 !');

View File

@ -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 !');

View File

@ -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');

View File

@ -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');