mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-02-12 10:52:37 +01:00
Fixed lastresult type (#28628)
This commit is contained in:
@@ -1454,7 +1454,7 @@ class Utils
|
||||
$job->pid = null;
|
||||
|
||||
// Set last result as an error and add the reason on the last output
|
||||
$job->lastresult = -1;
|
||||
$job->lastresult = strval(-1);
|
||||
$job->lastoutput = 'Job killed by job cleanUnfinishedCronjob';
|
||||
|
||||
if ($job->update($user) < 0) {
|
||||
|
||||
Reference in New Issue
Block a user