mirror of
https://github.com/processwire/processwire.git
synced 2025-08-22 22:34:15 +02:00
Bump version to 3.0.94
This commit is contained in:
@@ -948,6 +948,8 @@ class Sanitizer extends Wire {
|
||||
);
|
||||
|
||||
$options = array_merge($defaultOptions, $options);
|
||||
if($options['maxLength'] < 0) $options['maxLength'] = 0;
|
||||
if($options['maxBytes'] < 0) $options['maxBytes'] = 0;
|
||||
|
||||
if(!is_string($value)) $value = $this->string($value);
|
||||
|
||||
|
Reference in New Issue
Block a user