[Bps-public-commit] r10623 - in Net-Hiveminder: lib/Net

sartak at bestpractical.com sartak at bestpractical.com
Thu Jan 31 11:51:09 EST 2008


Author: sartak
Date: Thu Jan 31 11:51:07 2008
New Revision: 10623

Modified:
   Net-Hiveminder/   (props changed)
   Net-Hiveminder/Changes
   Net-Hiveminder/lib/Net/Hiveminder.pm

Log:
 r51297 at onn:  sartak | 2008-01-31 11:49:59 -0500
 Fix undef warning in download_text


Modified: Net-Hiveminder/Changes
==============================================================================
--- Net-Hiveminder/Changes	(original)
+++ Net-Hiveminder/Changes	Thu Jan 31 11:51:07 2008
@@ -2,6 +2,9 @@
 
 0.04
         Add new scripts: todo, create, done
+        Rename bin/ to example/ because I'd rather not install these generically
+            named scripts :)
+        Fix undef warning in download_text
 
 0.03    Mon Jan 21 08 01:50:38
         Rename tasks2ids to loc2id

Modified: Net-Hiveminder/lib/Net/Hiveminder.pm
==============================================================================
--- Net-Hiveminder/lib/Net/Hiveminder.pm	(original)
+++ Net-Hiveminder/lib/Net/Hiveminder.pm	Thu Jan 31 11:51:07 2008
@@ -350,7 +350,10 @@
     my $self = shift;
     my $query = shift;
 
-    return $self->act(DownloadTasks => query => $query, format => 'sync')->{content}{result};
+    return $self->act('DownloadTasks' =>
+        $query ? (query => $query) : (),
+        format => 'sync',
+    )->{content}{result};
 }
 
 =head2 download_file FILENAME



More information about the Bps-public-commit mailing list