forgot to add Validate/Validate to the last commit
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -308,7 +308,7 @@ class Validate
|
|||||||
*
|
*
|
||||||
* @return bool
|
* @return bool
|
||||||
*/
|
*/
|
||||||
public static function validateSqlInterval(string $interval): bool
|
public static function validateSqlInterval(string $interval = ''): bool
|
||||||
{
|
{
|
||||||
if (!empty($interval) && strstr($interval, ' ') !== false) {
|
if (!empty($interval) && strstr($interval, ' ') !== false) {
|
||||||
/*
|
/*
|
||||||
|
|||||||
Reference in New Issue
Block a user