diff options
| author | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-12 12:22:43 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+studip@gmail.com> | 2024-04-12 12:22:43 +0000 |
| commit | e7d5f02ac827280149e4fcc622de5205f91b9de4 (patch) | |
| tree | d1f56fbd684cb2daeadd32ed72479ff38569566b /cli | |
| parent | 187f03c42a2dca1b23dede9d1e0b107f5f9a001e (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; }); } } |
