Merge pull request #8 from belomaxorka/fixed-deprecated-preg_match-in-valid
Fixed deprecated in system.php line 273
This commit is contained in:
commit
4a89804165
|
@ -241,6 +241,8 @@
|
|||
|
||||
public static function valid($val, $type, $preg = '')
|
||||
{
|
||||
$val = (isset($val) ? $val : '');
|
||||
|
||||
switch($type)
|
||||
{
|
||||
case 'promo':
|
||||
|
|
Loading…
Reference in a new issue