diff options
author | Yorhel <git@yorhel.nl> | 2019-09-02 17:03:56 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2019-09-02 17:03:59 +0200 |
commit | 5fb0ec840484cf59c4a967fee1308f95b958a6d6 (patch) | |
tree | 486cac9b3c4546d3497d8108c0bc67a2ae650b6b /lib/VNDB/Handler/Staff.pm | |
parent | 3540b91daae0be093f8fb8825c749be3ead1d8bb (diff) |
Minor cleanup of l_wp/l_encubed link code
The fields are still there in order to keep the edit history somewhat
sensible, but we don't need this additional code.
Diffstat (limited to 'lib/VNDB/Handler/Staff.pm')
-rw-r--r-- | lib/VNDB/Handler/Staff.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Staff.pm b/lib/VNDB/Handler/Staff.pm index 2a6e8ec5..7a43c05a 100644 --- a/lib/VNDB/Handler/Staff.pm +++ b/lib/VNDB/Handler/Staff.pm @@ -241,7 +241,7 @@ sub edit { $frm->{desc} = $self->bbSubstLinks($frm->{desc}); return $self->resRedirect("/s$sid", 'post') if $sid && !form_compare(\%b4, $frm); - my $nrev = $self->dbItemEdit(s => $sid ? ($s->{id}, $s->{rev}) : (undef, undef), %$frm, l_wp => $s->{l_wp}||''); + my $nrev = $self->dbItemEdit(s => $sid ? ($s->{id}, $s->{rev}) : (undef, undef), %$frm); return $self->resRedirect("/s$nrev->{itemid}.$nrev->{rev}", 'post'); } } |