Merge pull request #23805 from frederic34/patch-7

doc
This commit is contained in:
Laurent Destailleur 2023-02-06 18:17:55 +01:00 committed by GitHub
commit 8758664900
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -45,6 +45,26 @@ class BankCateg // extends CommonObject
*/ */
public $label; public $label;
/**
* @var DoliDB
*/
protected $db;
/**
* @var string error
*/
public $error;
/**
* @var array errors
*/
public $errors;
/**
* @var array context
*/
public $context;
/** /**
* Constructor * Constructor
@ -278,7 +298,7 @@ class BankCateg // extends CommonObject
// Load source object // Load source object
$object->fetch($fromid); $object->fetch($fromid);
$object->id = 0; $object->id = 0;
$object->statut = 0; // $object->statut = 0;
// Create clone // Create clone
$object->context['createfromclone'] = 'createfromclone'; $object->context['createfromclone'] = 'createfromclone';