Skip to content

Commit

Permalink
forgot to add Validate/Validate to the last commit
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
  • Loading branch information
d00p committed Feb 7, 2023
1 parent 6ace2e9 commit 802168c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Froxlor/Validate/Validate.php
Expand Up @@ -308,7 +308,7 @@ public static function validateUsername(string $username, bool $unix_names = tru
*
* @return bool
*/
public static function validateSqlInterval(string $interval): bool
public static function validateSqlInterval(string $interval = ''): bool
{
if (!empty($interval) && strstr($interval, ' ') !== false) {
/*
Expand Down

0 comments on commit 802168c

Please sign in to comment.