diff options
author | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 03:48:16 -0500 |
---|---|---|
committer | jluehrs2 <jluehrs2@uiuc.edu> | 2008-05-09 03:48:16 -0500 |
commit | 5a41be4244db0a966d9c7342481d6c067e21d4d2 (patch) | |
tree | 0bba56ec373ce69b9771db7010d9089fd808edb9 | |
parent | f6769b717aa68fa9de205f86fd9ecdf07b0cdb32 (diff) | |
download | app-hiveminder-5a41be4244db0a966d9c7342481d6c067e21d4d2.tar.gz app-hiveminder-5a41be4244db0a966d9c7342481d6c067e21d4d2.zip |
oops, forgot $self
-rw-r--r-- | lib/App/Hiveminder/Command/Decline.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Hiveminder/Command/Decline.pm b/lib/App/Hiveminder/Command/Decline.pm index da34aac..7ed6e70 100644 --- a/lib/App/Hiveminder/Command/Decline.pm +++ b/lib/App/Hiveminder/Command/Decline.pm @@ -17,8 +17,8 @@ sub command { return unless @_ > 0; my $ret = ''; - for my $task ($hm->get_tasks(%{ parse_args @_ })) { - my $updated_task = $hm->update_task($task, accepted => 0); + for my $task ($self->hm->get_tasks(%{ parse_args @_ })) { + 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"; |