delcroip / dolibarr_project_timesheet

Timesheet view for project in Dolibarr
https://demo-timesheet.pmpd.eu
GNU Affero General Public License v3.0
36 stars 32 forks source link

mktime() without argument is deprecated #205

Open matthiasfrankatceteq opened 2 years ago

matthiasfrankatceteq commented 2 years ago

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

delcroip commented 1 year ago

can I close this ?

matthiasfrankatceteq commented 1 year ago

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