Qual: Derived missing variable from a known one
This commit is contained in:
parent
152fbbd7f6
commit
ae11a151d7
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user