diff --git a/htdocs/compta/facture/class/facture.class.php b/htdocs/compta/facture/class/facture.class.php index ab0030cc92d..280c791fa5d 100644 --- a/htdocs/compta/facture/class/facture.class.php +++ b/htdocs/compta/facture/class/facture.class.php @@ -1213,7 +1213,7 @@ class Facture extends CommonInvoice if (! empty($this->total_tva)) $label.= '
' . $langs->trans('VAT') . ': ' . price($this->total_tva, 0, $langs, 0, -1, -1, $conf->currency); if (! empty($this->total_localtax1) && $this->total_localtax1 != 0) // We keep test != 0 because $this->total_localtax1 can be '0.00000000' - $label.= '
eee' . $langs->trans('LT1') . ': ' . price($this->total_localtax1, 0, $langs, 0, -1, -1, $conf->currency); + $label.= '
' . $langs->trans('LT1') . ': ' . price($this->total_localtax1, 0, $langs, 0, -1, -1, $conf->currency); if (! empty($this->total_localtax2) && $this->total_localtax2 != 0) $label.= '
' . $langs->trans('LT2') . ': ' . price($this->total_localtax2, 0, $langs, 0, -1, -1, $conf->currency); if (! empty($this->total_ttc)) diff --git a/htdocs/core/class/notify.class.php b/htdocs/core/class/notify.class.php index d52166659ea..fb6c94b00f7 100644 --- a/htdocs/core/class/notify.class.php +++ b/htdocs/core/class/notify.class.php @@ -742,6 +742,4 @@ class Notify if (! $error) return $num; else return -1 * $error; } - } - diff --git a/htdocs/core/class/utils.class.php b/htdocs/core/class/utils.class.php index c6c6b8914a1..cbd9fb8fcff 100644 --- a/htdocs/core/class/utils.class.php +++ b/htdocs/core/class/utils.class.php @@ -410,13 +410,13 @@ class Utils if ($compression == 'gz' or $compression == 'bz') { - $this->backup_tables($outputfiletemp); + $this->backupTables($outputfiletemp); dol_compress_file($outputfiletemp, $outputfile, $compression); unlink($outputfiletemp); } else { - $this->backup_tables($outputfile); + $this->backupTables($outputfile); } $this->output = ""; @@ -836,7 +836,7 @@ class Utils * @param string $tables Table name or '*' for all * @return int <0 if KO, >0 if OK */ - function backup_tables($outputfile, $tables='*') + function backupTables($outputfile, $tables='*') { global $db, $langs; global $errormsg; @@ -996,4 +996,4 @@ class Utils return 1; } -} \ No newline at end of file +}