From 72767038ef9f412bbadd507e37c76ff1c9cb88bb Mon Sep 17 00:00:00 2001 From: Donald Buczek Date: Tue, 3 Jan 2017 16:19:33 +0100 Subject: [PATCH] web: Fix bug: No jobs shown 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. --- web/pages/mxq/mxq.in | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/pages/mxq/mxq.in b/web/pages/mxq/mxq.in index f188b33f..f921fe1d 100755 --- a/web/pages/mxq/mxq.in +++ b/web/pages/mxq/mxq.in @@ -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 {