Skip to content
Snippets Groups Projects
Commit b52971d0 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Fix template

parent 8f383e3f
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment