use addTable instead of add_table for consistency between interfaces

This commit is contained in:
james 2011-02-22 15:24:19 +00:00
parent 1d2642527e
commit 7eb89d98a2
2 changed files with 2 additions and 2 deletions

View File

@ -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);
}

View File

@ -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;