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:
Laurent Destailleur 2015-07-06 23:54:43 +02:00
commit 36aebb5fc4

View File

@ -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;
}
/**