Php7.2 incompatibility
This commit is contained in:
parent
445dbdf9cb
commit
f2be4c35af
1 changed files with 4 additions and 3 deletions
|
|
@ -538,7 +538,7 @@ class Acc_Ledger_History_Generic extends Acc_Ledger_History
|
|||
$array=array();
|
||||
$Max=Database::num_row($Res);
|
||||
if ($Max==0)
|
||||
return 0;
|
||||
return array();
|
||||
$case="";
|
||||
$tot_deb=0;
|
||||
$tot_cred=0;
|
||||
|
|
@ -655,8 +655,9 @@ class Acc_Ledger_History_Generic extends Acc_Ledger_History
|
|||
|
||||
$this->get_row();
|
||||
echo '<TABLE class="result">';
|
||||
// detailled printing
|
||||
//---
|
||||
// detailled printing
|
||||
//---
|
||||
if ( empty ($this->data)) return;
|
||||
foreach ($this->data[0] as $op)
|
||||
{
|
||||
$class="";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue