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:36 +0200 |
| commit | 61e41894a60adcf6c934acd24953e7ad83c9e07c (patch) | |
| tree | 9ebc993ed7c6768cbf538688a6ae5b1dc5693df8 /cli | |
| parent | ec6c74c99898683d47c473c3770faf1ede8f677c (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; }); } } |
