diff --git a/htdocs/don/class/don.class.php b/htdocs/don/class/don.class.php
index bddd5c9e533..c4f9d66a3ec 100644
--- a/htdocs/don/class/don.class.php
+++ b/htdocs/don/class/don.class.php
@@ -36,7 +36,7 @@ class Don extends CommonObject
{
public $element='don'; // Id that identify managed objects
public $table_element='don'; // Name of table without prefix where object is stored
- public $fk_element = 'fk_don';
+ public $fk_element = 'fk_donation';
protected $ismultientitymanaged = 1; // 0=No test on entity, 1=Test with field entity, 2=Test with link by societe
var $id;
diff --git a/htdocs/public/donations/donateurs_code.php b/htdocs/public/donations/donateurs_code.php
index ad42b7e0e7f..0fef24df949 100644
--- a/htdocs/public/donations/donateurs_code.php
+++ b/htdocs/public/donations/donateurs_code.php
@@ -39,7 +39,7 @@ function llxHeaderVierge() { print '
Export agenda cal
function llxFooterVierge() { print ''; }
require '../../main.inc.php';
-require_once DOL_DOCUMENT_ROOT .'/donations/class/class/don.class.php';
+require_once DOL_DOCUMENT_ROOT .'/don/class/don.class.php';
// Security check
if (empty($conf->don->enabled)) accessforbidden('',1,1,1);
diff --git a/htdocs/public/donations/therm.php b/htdocs/public/donations/therm.php
index 36bdec4637f..7c24253dd71 100644
--- a/htdocs/public/donations/therm.php
+++ b/htdocs/public/donations/therm.php
@@ -27,7 +27,7 @@ define("NOCSRFCHECK",1); // We accept to go on this page from external web site.
require '../../main.inc.php';
require_once DOL_DOCUMENT_ROOT.'/core/lib/images.lib.php';
-require_once DOL_DOCUMENT_ROOT.'/donations/class/don.class.php';
+require_once DOL_DOCUMENT_ROOT.'/don/class/don.class.php';
// Security check
if (empty($conf->don->enabled)) accessforbidden('',1,1,1);