dolibarr_project_timesheet icon indicating copy to clipboard operation
dolibarr_project_timesheet copied to clipboard

mktime() without argument is deprecated

Open matthiasfrankatceteq opened this issue 2 years ago • 2 comments

Leads to blank pages while used with Dolibarr 16.0.3. I changed it to time() in e.g. /usr/share/dolibarr/htdocs/custom/timesheet/class/AttendanceEvent.class.php(924) that fixed it for me, pages are shown but I did not test the functionality in detail.

php 8.1.2, Ubuntu 22

matthiasfrankatceteq avatar Sep 20 '22 10:09 matthiasfrankatceteq

can I close this ?

delcroip avatar Apr 02 '23 21:04 delcroip

Has anything been done? you could find the problem in the current version during a retest? Have you changed the function from mktime to time? I have not made an update since then. BR

matthiasfrankatceteq avatar Apr 14 '23 13:04 matthiasfrankatceteq