Skip to content
Snippets Groups Projects
Commit 1dcca6e5 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Avoid error

parent 9ae03f53
No related branches found
No related tags found
No related merge requests found
......@@ -1825,7 +1825,7 @@ abstract class CommonObject
if (empty($sourceid) && empty($targetid))
{
dol_print_error('','Bad usage of function. No parameter defined and no id defined');
dol_syslog('Bad usage of function. No source nor target id defined (nor as parameter nor as object id)', LOG_ERROR);
return -1;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment