Fixed deprecated in system.php line 273
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in C:\OSPanel\domains\localhost\system\library\system.php on line 273
This commit is contained in:
parent
e30e4039bf
commit
3cd6be7dcd
|
@ -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