diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-12 12:22:43 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-04-12 14:44:37 +0200 |
| commit | daed8dced8eb78e464e0f9ebc8f2de980f20a0ff (patch) | |
| tree | 3ba44c26e31641c52920ca8d640daf92e0aada16 /cli | |
| parent | 8d491113ec550a9ab5a8b77065a0186cb47b39c8 (diff) | |
fixes #3982
Closes #3982
Merge request studip/studip!2853
Diffstat (limited to 'cli')
| -rw-r--r-- | cli/Commands/Cronjobs/CronjobExecute.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/Commands/Cronjobs/CronjobExecute.php b/cli/Commands/Cronjobs/CronjobExecute.php index d4789ea..93b5ddb 100644 --- a/cli/Commands/Cronjobs/CronjobExecute.php +++ b/cli/Commands/Cronjobs/CronjobExecute.php @@ -96,7 +96,7 @@ class CronjobExecute extends Command if (strlen($value) && !ctype_digit($value)) { throw new \RuntimeException('Number is invalid.'); } - return $value; + return (int) $value; }); } } |
