From 3dfeabb35b6db40dfff913f74166b418ab033daf Mon Sep 17 00:00:00 2001
From: Regis Houssin <regis@dolibarr.fr>
Date: Mon, 20 Jun 2011 06:58:42 +0000
Subject: [PATCH] Fix: bugfix

---
 htdocs/public/paypal/paymentok.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
-- 
GitLab