Skip to content

Commit

Permalink
web: Fix bug: No jobs shown
Browse files Browse the repository at this point in the history
Because of the conditional expressions added with 6ab5d3b at
the end of two subs, the last expression evaluated in the subs
are no longer defined to be $out. So we now need an explicit
return here.
  • Loading branch information
donald committed Jan 3, 2017
1 parent 6a8a00e commit 7276703
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions web/pages/mxq/mxq.in
Original file line number Diff line number Diff line change
@@ -251,6 +251,7 @@ sub job_table_pending {
if ($cnt==$LIMIT) {
$out.=$q->p($q->em("(truncated after $LIMIT rows)"));
}
return $out;
}

sub job_table_running {
@@ -359,6 +360,7 @@ __EOF__
if ($cnt==$LIMIT) {
$out.=$q->p($q->em("(truncated after $LIMIT rows)"));
}
return $out;
}

sub job_status_filter_buttons {

0 comments on commit 7276703

Please sign in to comment.