diff --git a/htdocs/public/paypal/paymentok.php b/htdocs/public/paypal/paymentok.php index 0f534f854ee..b3c4c4e7666 100755 --- a/htdocs/public/paypal/paymentok.php +++ b/htdocs/public/paypal/paymentok.php @@ -153,7 +153,7 @@ if ($PAYPALTOKEN) include_once(DOL_DOCUMENT_ROOT . "/core/class/interfaces.class.php"); $interface=new Interfaces($db); $result=$interface->run_triggers('PAYPAL_PAYMENT_OK',$object,$user,$langs,$conf); - if ($result < 0) { $error++; $this->errors=$interface->errors; } + if ($result < 0) { $error++; $errors=$interface->errors; } // Fin appel triggers } else