Merge pull request #4200 from GPCsolutions/dolibarr-php7
[Qual] OOP constructor
This commit is contained in:
commit
da5aa0cd36
@ -1590,7 +1590,7 @@ class ExpenseReportLine
|
|||||||
*
|
*
|
||||||
* @param DoliDB $db Handlet database
|
* @param DoliDB $db Handlet database
|
||||||
*/
|
*/
|
||||||
function ExpenseReportLine($db)
|
function __construct($db)
|
||||||
{
|
{
|
||||||
$this->db= $db;
|
$this->db= $db;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user