Merge pull request #3151 from FHenry/3.7
FIX : when fetch_optionnal_by_label in Extrafields with $this->db cannot
This commit is contained in:
commit
36aebb5fc4
@ -32,6 +32,18 @@
|
||||
abstract class CommonDocGenerator
|
||||
{
|
||||
var $error='';
|
||||
protected $db;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
*
|
||||
* @param DoliDB $db Database handler
|
||||
*/
|
||||
public function __construct($db) {
|
||||
$this->db = $db;
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Loading…
Reference in New Issue
Block a user