fix valid filter_var() options.. php documentation is crap fucking fashioned devs * the php documentation does not specifies if the options can be any mixed so later we found is only int or array valid allowed
... | ... | @@ -555,7 +555,7 @@ class CI_Input { |
555 | 555 | $flag = FILTER_FLAG_IPV6;
|
556 | 556 | break;
|
557 | 557 | default:
|
558 | - $flag = '';
|
|
558 | + $flag = 0;
|
|
559 | 559 | break;
|
560 | 560 | }
|
561 | 561 |
—
View it on GitLab.
You're receiving this email because of your account on gitlab.com. Manage all notifications · Help