From 7eb89d98a24adefe6354afd1d8b00750f5008934 Mon Sep 17 00:00:00 2001 From: james Date: Tue, 22 Feb 2011 15:24:19 +0000 Subject: [PATCH] use addTable instead of add_table for consistency between interfaces --- admin/reports.inc.php | 2 +- tcpdf.inc.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/admin/reports.inc.php b/admin/reports.inc.php index 389ced7..bfbe84a 100644 --- a/admin/reports.inc.php +++ b/admin/reports.inc.php @@ -823,7 +823,7 @@ foreach($report_stock as $n=>$v) { if(count($data)) $table['data'][] = $data; } if(count($table['data'])) { - $rep->add_table($table); + $rep->addTable($table); } diff --git a/tcpdf.inc.php b/tcpdf.inc.php index aae3d24..700368f 100644 --- a/tcpdf.inc.php +++ b/tcpdf.inc.php @@ -508,7 +508,7 @@ class pdf extends TCPDF { return $html; } - function add_table($table) + function addTable($table) { $orig_lmargin = $this->lMargin; $orig_tmargin = $this->tMargin;