Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Moving categorie into child of itself

Quote Reply
Moving categorie into child of itself
Hello,

In Browser.pm on line 665 you will see the following code snippet:

# finally check that category_to ain't a category_from descendant
my $from_full_name = $info_from->{Full_Name};
my $to_full_name = $info_to->{Full_Name};
if ($to_full_name =~ m,^\Q$from_full_name\E/,) {
return $self->javascript_error ( message => Links::language ('BROWSER_MOVECHILD'), tree_go => -1, info_go => -1 );
}

this disabled that you can move a category to a child of itself.

But i can do this without error message in the normal admin.

my question is:
Is this a known issue, or is there a code snippet for it to copy in a module (I think Links::category.pm) ??
Subject Author Views Date
Thread Moving categorie into child of itself ridesworld 1616 Jul 4, 2003, 1:21 PM
Thread Re: [ridesworld] Moving categorie into child of itself
ericho 1508 Jul 16, 2003, 2:35 AM
Thread Re: [ericho] Moving categorie into child of itself
ridesworld 1468 Jul 23, 2003, 11:58 PM
Post Re: [ridesworld] Moving categorie into child of itself
ridesworld 1466 Jul 24, 2003, 1:11 PM