summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2016-01-26 18:45:00 +0100
committerYorhel <git@yorhel.nl>2016-01-26 18:45:00 +0100
commitce1e92a8431544a8cedc82c909ae389f61224bfb (patch)
tree507cfefeb26139de398c1bc0f97727d6c17f08a6
parentace7c19c42167bf2c61242890c61082bd4e48991 (diff)
Handler::Misc: Fix perl warning on 404 */hist
-rw-r--r--lib/VNDB/Handler/Misc.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/Handler/Misc.pm b/lib/VNDB/Handler/Misc.pm
index 08439513..fd43c026 100644
--- a/lib/VNDB/Handler/Misc.pm
+++ b/lib/VNDB/Handler/Misc.pm
@@ -209,8 +209,8 @@ sub history {
$type eq 'c' ? $self->dbCharGet(id => $id)->[0] :
$type eq 's' ? $self->dbStaffGet(id => $id)->[0] :
$type eq 'v' ? $self->dbVNGet(id => $id)->[0] : undef;
- my $title = $type ? 'Edit history of '.($obj->{title} || $obj->{name} || $obj->{username}) : 'Recent changes';
return $self->resNotFound if $type && !$obj->{id};
+ my $title = $type ? 'Edit history of '.($obj->{title} || $obj->{name} || $obj->{username}) : 'Recent changes';
# get the edit history
my($list, $np) = $self->dbRevisionGet(