summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjluehrs2 <jluehrs2@uiuc.edu>2008-05-09 04:18:21 -0500
committerjluehrs2 <jluehrs2@uiuc.edu>2008-05-09 04:18:21 -0500
commit5a43cf961939e42df2defbda0cf60ad4550b2cd7 (patch)
treeca5bb0ff2e209de5c0ae1d4a591cdf78467d9a26
parent7a5d7c06cd271438e2feb95f93d83a3bb62ad71e (diff)
downloadapp-hiveminder-5a43cf961939e42df2defbda0cf60ad4550b2cd7.tar.gz
app-hiveminder-5a43cf961939e42df2defbda0cf60ad4550b2cd7.zip
forgot some more $self
-rw-r--r--lib/App/Hiveminder/Command/Describe.pm2
-rw-r--r--lib/App/Hiveminder/Command/Upload.pm2
2 files changed, 2 insertions, 2 deletions
diff --git a/lib/App/Hiveminder/Command/Describe.pm b/lib/App/Hiveminder/Command/Describe.pm
index 4f5a63e..bfea550 100644
--- a/lib/App/Hiveminder/Command/Describe.pm
+++ b/lib/App/Hiveminder/Command/Describe.pm
@@ -20,7 +20,7 @@ sub command {
my $task = $self->hm->read_task(shift);
my $description = get_text_from_editor_or_cmdline(@_);
chomp $description;
- $task = update_tasks($self->hm, [$hm->id2loc($task->{id})],
+ $task = update_tasks($self->hm, [$self->hm->id2loc($task->{id})],
sub { (description => $description) })->[0];
my $display = display_tasks($self->hm, $task);
return "Description for $display:\n$task->{description}\n";
diff --git a/lib/App/Hiveminder/Command/Upload.pm b/lib/App/Hiveminder/Command/Upload.pm
index 69afadc..f425c8a 100644
--- a/lib/App/Hiveminder/Command/Upload.pm
+++ b/lib/App/Hiveminder/Command/Upload.pm
@@ -16,7 +16,7 @@ sub command {
return unless @_ > 0;
my $filename = shift;
- $hm->upload_file($filename);
+ $self->hm->upload_file($filename);
return $filename;
}