Merge pull request #21 from EngineGPDev/Deprecated-preg_match()-Passing-null-to-parameter-#2-($subject)-of-type-string-is-deprecated-in-/enginegp/system/library/acpsystem.php-on-line-105
Deprecated: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in /enginegp/system/library/acpsystem.php on line 105
This commit is contained in:
commit
f4c3e1327d
1 changed files with 1 additions and 0 deletions
|
@ -75,6 +75,7 @@
|
|||
|
||||
public static function valid($val, $type, $preg = '')
|
||||
{
|
||||
$val = isset($val) ? $val : '';
|
||||
switch($type)
|
||||
{
|
||||
case 'promo':
|
||||
|
|
Loading…
Reference in a new issue