Fix PHP undefined variable warning
This commit is contained in:
parent
c863302cac
commit
376733e070
1 changed files with 1 additions and 1 deletions
|
|
@ -1330,7 +1330,7 @@ class Cronjob extends CommonObject
|
|||
$error++;
|
||||
} else {
|
||||
dol_syslog(get_class($this)."::run_jobs END");
|
||||
$this->lastoutput = dol_substr((empty($object->output) ? "" : $object->output."\n").$errmsg, 0, $this::MAXIMUM_LENGTH_FOR_LASTOUTPUT_FIELD, 'UTF-8', 1);
|
||||
$this->lastoutput = dol_substr((empty($object->output) ? "" : $object->output."\n"), 0, $this::MAXIMUM_LENGTH_FOR_LASTOUTPUT_FIELD, 'UTF-8', 1);
|
||||
$this->lastresult = var_export($result, true);
|
||||
$retval = $this->lastresult;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue