Skip to content

Commit

Permalink
Avoid error
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 7, 2014
1 parent 9ae03f5 commit 1dcca6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion htdocs/core/class/commonobject.class.php
Expand Up @@ -1825,7 +1825,7 @@ function fetchObjectLinked($sourceid='',$sourcetype='',$targetid='',$targettype=

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;
}

Expand Down

0 comments on commit 1dcca6e

Please sign in to comment.