Skip to content
Snippets Groups Projects
Commit ae11a151 authored by Raphaël Doursenaud's avatar Raphaël Doursenaud
Browse files

Qual: Derived missing variable from a known one

parent 152fbbd7
No related branches found
No related tags found
No related merge requests found
......@@ -916,7 +916,8 @@ class Cronjob extends CommonObject
if ($this->jobtype=='method')
{
// load classes
$ret=dol_include_once("/".$this->module_name."/class/".$this->classesname,$this->objectname);
$file = "/".$this->module_name."/class/".$this->classesname;
$ret=dol_include_once($file,$this->objectname);
if ($ret===false)
{
$this->error=$langs->trans('CronCannotLoadClass',$file,$this->objectname);
......
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