summaryrefslogtreecommitdiff
path: root/modules/path
diff options
context:
space:
mode:
Diffstat (limited to 'modules/path')
-rw-r--r--modules/path/path.module8
1 files changed, 3 insertions, 5 deletions
diff --git a/modules/path/path.module b/modules/path/path.module
index d0190f82b..a5fd3807a 100644
--- a/modules/path/path.module
+++ b/modules/path/path.module
@@ -256,15 +256,13 @@ function path_overview() {
$rows[] = array($data->dst, $data->src, l(t('edit'), "admin/path/edit/$data->pid", array(), $destination), l(t('delete'), "admin/path/delete/$data->pid", array(), $destination));
}
- if ($pager = theme('pager', NULL, 50, 0, tablesort_pager())) {
- $rows[] = array(array('data' => $pager, 'colspan' => '4'));
- }
-
if (!$rows) {
$rows[] = array(array('data' => t('No URL aliases available.'), 'colspan' => '4'));
}
- return theme('table', $header, $rows);
+ $output = theme('table', $header, $rows);
+ $output .= theme('pager', NULL, 50, 0, tablesort_pager());
+ return $output;
}
/**