diff options
author | Yorhel <git@yorhel.nl> | 2009-03-25 18:31:21 +0100 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-03-25 18:31:21 +0100 |
commit | 0aab83e13df0910d1aab50206ab1c481ece3305b (patch) | |
tree | d87bc2e3864c76c50674886f620e310e20a3c081 /lib | |
parent | f3abd39fd1ae1d0803f381d9ae47a485d7137ff4 (diff) |
Fixed default parent when adding/requesting a child tag
Diffstat (limited to 'lib')
-rw-r--r-- | lib/VNDB/Handler/Tags.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Tags.pm b/lib/VNDB/Handler/Tags.pm index 0be1ba10..4c15a895 100644 --- a/lib/VNDB/Handler/Tags.pm +++ b/lib/VNDB/Handler/Tags.pm @@ -232,7 +232,7 @@ sub tagedit { if($act && $act eq 'add') { $par = $self->dbTagGet(id => $tag)->[0]; return 404 if !$par; - $frm->{parents} = $tag; + $frm->{parents} = $par->{name}; $tag = undef; } |