Ignore:
Timestamp:
Feb 24, 2024 6:31:54 AM (3 months ago)
Author:
anonymous
Message:

Minor improvements. Add Validator::IPAddress() method.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/module_maker/module.cli.php

    r612 r807  
    207207        $default = $col[4];
    208208
    209         if (mb_strpos($default, '0000') !== false || '0' == $default) {
     209        if (is_null($default) || mb_strpos($default, '0000') !== false || '0' == $default) {
    210210            $default = '';
    211211        }
Note: See TracChangeset for help on using the changeset viewer.