2
0
forked from Wavyzz/dolibarr

Merge pull request #27687 from frederic34/dol_print_error_db

fix param
This commit is contained in:
Laurent Destailleur
2024-01-22 00:03:06 +01:00
committed by GitHub
154 changed files with 213 additions and 211 deletions

View File

@@ -1303,7 +1303,7 @@ class Task extends CommonObjectLine
// Check parameters
if (!is_object($user)) {
dol_print_error('', "Method addTimeSpent was called with wrong parameter user");
dol_print_error(null, "Method addTimeSpent was called with wrong parameter user");
return -1;
}