Skip to content
Snippets Groups Projects
Commit e7d5f02a authored by Jan-Hendrik Willms's avatar Jan-Hendrik Willms
Browse files

fixes #3982

Closes #3982

Merge request studip/studip!2853
parent 187f03c4
No related branches found
No related tags found
No related merge requests found
...@@ -96,7 +96,7 @@ class CronjobExecute extends Command ...@@ -96,7 +96,7 @@ class CronjobExecute extends Command
if (strlen($value) && !ctype_digit($value)) { if (strlen($value) && !ctype_digit($value)) {
throw new \RuntimeException('Number is invalid.'); throw new \RuntimeException('Number is invalid.');
} }
return $value; return (int) $value;
}); });
} }
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment