diff --git a/htdocs/compta/salaries/class/paymentsalary.class.php b/htdocs/compta/salaries/class/paymentsalary.class.php index 3e3574d194b..2aff98a2322 100644 --- a/htdocs/compta/salaries/class/paymentsalary.class.php +++ b/htdocs/compta/salaries/class/paymentsalary.class.php @@ -478,7 +478,7 @@ class PaymentSalary extends CommonObject $linkaddedforthirdparty=array(); foreach ($this->amounts as $key => $value) { - $sal = new PaymentSalary ($this->db); + $sal = new PaymentSalary($this->db); $sal->fetch($key); $sal->fetch_user($this->fk_user);