Explorar o código

Update acpsystem.php

Co-Authored-By: Roman Kelesidis <roman25052006.kelesh@gmail.com>
Sergei Solovev %!s(int64=2) %!d(string=hai) anos
pai
achega
18bafe76f4
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      system/library/acpsystem.php

+ 1 - 0
system/library/acpsystem.php

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