Skip to content

Commit 248ed2f

Browse files
authored
valid_ip removed $data which was causing exception
1 parent 0fe4dc7 commit 248ed2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

system/Validation/FormatRules.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ public function valid_emails(string $str = null): bool
349349
*
350350
* @return boolean
351351
*/
352-
public function valid_ip(string $ip = null, string $which = null, array $data): bool
352+
public function valid_ip(string $ip = null, string $which = null): bool
353353
{
354354
switch (strtolower($which))
355355
{

0 commit comments

Comments
 (0)