From e65cfbc86637c1f175fdcccc8e0a080863522ae0 Mon Sep 17 00:00:00 2001 From: Isaac Flores Date: Tue, 9 Dec 2008 18:00:10 +0100 Subject: [PATCH] [svn r17173] minor - style changes - defined variable --- main/inc/lib/sortabletable.class.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/main/inc/lib/sortabletable.class.php b/main/inc/lib/sortabletable.class.php index a78b6985dd..8258256511 100644 --- a/main/inc/lib/sortabletable.class.php +++ b/main/inc/lib/sortabletable.class.php @@ -203,6 +203,7 @@ class SortableTable extends HTML_Table $this->setCellContents(1, 0, get_lang('TheListIsEmpty')); $empty_table = true; } + $html=''; if (!$empty_table) { $form = $this->get_page_select_form(); @@ -294,6 +295,7 @@ class SortableTable extends HTML_Table function get_table_html() { $pager = $this->get_pager(); + $val = $pager->getOffsetByPageId(); $offset = $pager->getOffsetByPageId(); $from = $offset[0] - 1; $table_data = $this->get_table_data($from);