Quantcast
Channel: Forum Dolibarr france :: Discussions récentes
Viewing all articles
Browse latest Browse all 34935

Sujet: Aide sur CustomFields - par: cyrilz

$
0
0
Bon, pour info j'ai trouvé cette ligne dans le fichier customfield.class.php du module .

Line 1198 et suivantes:
// Mirroring constraint in the extra options (compatibility mode for MyIsam, without foreign keys constrained field will still work!)
if (!isset($extra) or !is_object($extra)) $extra = new stdClass();
$extra->referenced_table_name = $constraint;
$extra->referenced_column_name = $__prifield__->column_name;
} else {
// If there is no constraint, we remove the constraints in extra options (the deletion of foreign keys are done above)


la variable $prifield n'existe pas, mais en la changeant en $prfields créée plus haut, ca marche.

Si ca peut aider à corriger. ...

Viewing all articles
Browse latest Browse all 34935

Trending Articles