Fix template

This commit is contained in:
Laurent Destailleur 2017-06-12 16:00:38 +02:00
parent 8f383e3fa1
commit b52971d0a2

View File

@ -29,6 +29,20 @@
*/
class ActionsMyModule
{
/**
* @var DoliDB Database handler.
*/
public $db;
/**
* @var string Error
*/
public $error = '';
/**
* @var array Errors
*/
public $errors = array();
/**
* @var array Hook results. Propagated to $hookmanager->resArray for later reuse
*/
@ -39,16 +53,13 @@ class ActionsMyModule
*/
public $resprints;
/**
* @var array Errors
*/
public $errors = array();
/**
* Constructor
*/
public function __construct()
public function __construct($db)
{
$this->db = $db;
}
/**