[Qual] OOP constructor
Using class name as constructor method is deprecated in PHP 7
This commit is contained in:
parent
5710bcd38a
commit
5aaafc3f8a
@ -1590,7 +1590,7 @@ class ExpenseReportLine
|
||||
*
|
||||
* @param DoliDB $db Handlet database
|
||||
*/
|
||||
function ExpenseReportLine($db)
|
||||
function __construct($db)
|
||||
{
|
||||
$this->db= $db;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user