mirror of
https://github.com/processwire/processwire.git
synced 2025-08-13 10:15:28 +02:00
Bump version to 3.0.94
This commit is contained in:
@@ -45,7 +45,7 @@ class ProcessWire extends Wire {
|
||||
* Reversion revision number
|
||||
*
|
||||
*/
|
||||
const versionRevision = 93;
|
||||
const versionRevision = 94;
|
||||
|
||||
/**
|
||||
* Version suffix string (when applicable)
|
||||
|
@@ -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