summaryrefslogtreecommitdiffstats
path: root/lib/App/Hiveminder/Command/Decline.pm
diff options
context:
space:
mode:
Diffstat (limited to 'lib/App/Hiveminder/Command/Decline.pm')
-rw-r--r--lib/App/Hiveminder/Command/Decline.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/App/Hiveminder/Command/Decline.pm b/lib/App/Hiveminder/Command/Decline.pm
index 7ed6e70..7f09755 100644
--- a/lib/App/Hiveminder/Command/Decline.pm
+++ b/lib/App/Hiveminder/Command/Decline.pm
@@ -21,7 +21,7 @@ sub command {
my $updated_task = $self->hm->update_task($task, accepted => 0);
# we get a task hash with each field undef if it succeeds
if (!defined $updated_task->{id}) {
- $ret .= "Declined " . display_tasks($task) . "\n";
+ $ret .= "Declined " . display_tasks($self->hm, $task) . "\n";
}
}