Merge pull request #8 from belomaxorka/fixed-deprecated-preg_match-in-valid

Fixed deprecated in system.php line 273
This commit is contained in:
Sergei 2023-03-05 09:23:01 +03:00 committed by GitHub
commit 4a89804165
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -241,6 +241,8 @@
public static function valid($val, $type, $preg = '')
{
$val = (isset($val) ? $val : '');
switch($type)
{
case 'promo':