Fixed lastresult type (#28628)

This commit is contained in:
William Mead
2024-03-04 17:58:21 +01:00
committed by GitHub
parent 61dd78b95e
commit 29d87ec14a

View File

@@ -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) {