diff --git a/htdocs/compta/bank/class/bankcateg.class.php b/htdocs/compta/bank/class/bankcateg.class.php index 581bc5fd1da..9ee8bb66a05 100644 --- a/htdocs/compta/bank/class/bankcateg.class.php +++ b/htdocs/compta/bank/class/bankcateg.class.php @@ -45,6 +45,26 @@ class BankCateg // extends CommonObject */ public $label; + /** + * @var DoliDB + */ + protected $db; + + /** + * @var string error + */ + public $error; + + /** + * @var array errors + */ + public $errors; + + /** + * @var array context + */ + public $context; + /** * Constructor @@ -278,7 +298,7 @@ class BankCateg // extends CommonObject // Load source object $object->fetch($fromid); $object->id = 0; - $object->statut = 0; + // $object->statut = 0; // Create clone $object->context['createfromclone'] = 'createfromclone';