diff options
| author | David T. Sadler <davidtsadler@googlemail.com> | 2021-11-13 08:30:24 +0000 | 
|---|---|---|
| committer | David T. Sadler <davidtsadler@googlemail.com> | 2021-11-13 08:30:24 +0000 | 
| commit | 3ce11b937bd1c16113317a1e9c230c9813d62b4e (patch) | |
| tree | fa4514e0fbf1dfdbc96131a220adbcbb5359e286 /src/DTS/Validator.php | |
| parent | b8ee7f12aba7a81fa0ffbc5cae68e576a2a2372b (diff) | |
Make title required
Diffstat (limited to 'src/DTS/Validator.php')
| -rw-r--r-- | src/DTS/Validator.php | 4 | 
1 files changed, 0 insertions, 4 deletions
diff --git a/src/DTS/Validator.php b/src/DTS/Validator.php index a688832..b4c85f7 100644 --- a/src/DTS/Validator.php +++ b/src/DTS/Validator.php @@ -47,10 +47,6 @@ class Validator      {          $title = trim($title); -        if ($title === '') { -            return; -        } -          if (strlen($title) < $minLength  || strlen($title) > $maxLength) {              $this->errors->add('title', "Must be between $minLength and $maxLength in characters in length");          }  | 
