From 9979aceab035616297b1ba95ec33c9905a4fed2b Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 15 Nov 2004 11:16:39 +0000 Subject: - Patch #12783 by Stefan: various small consistency/usability improvements. --- modules/queue.module | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/queue.module') diff --git a/modules/queue.module b/modules/queue.module index 891457380..934881e92 100644 --- a/modules/queue.module +++ b/modules/queue.module @@ -136,7 +136,11 @@ function queue_overview() { } if ($pager = theme('pager', NULL, 10, 0, tablesort_pager())) { - $rows[] = array(array('data' => $pager, 'colspan' => 4)); + $rows[] = array(array('data' => $pager, 'colspan' => '4')); + } + + if (!$rows) { + $rows[] = array(array('data' => t('No posts available in queue.'), 'colspan' => '4')); } $output = '
'; -- cgit v1.2.3