Permalink
Browse files

bug fixed.

  • Loading branch information...
1 parent bfab9ca commit 12269a894c52e2094361315a957e02e180bcead1 @nekokak committed Jan 24, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Jonk.pm
View
@@ -121,7 +121,7 @@ sub _grab_job {
while (my $row = $sth->fetchrow_hashref) {
$job = $self->_grab_a_job($row, $time, $opt);
- last;
+ last if $job;
}
$sth->finish;

0 comments on commit 12269a8

Please sign in to comment.