1
0
mirror of https://github.com/processwire/processwire.git synced 2025-08-15 11:14:12 +02:00

Bump version to 3.0.94

This commit is contained in:
Ryan Cramer
2018-03-02 12:01:16 -05:00
parent 76f3dac6fd
commit a9ec5a640a
2 changed files with 3 additions and 1 deletions

View File

@@ -45,7 +45,7 @@ class ProcessWire extends Wire {
* Reversion revision number * Reversion revision number
* *
*/ */
const versionRevision = 93; const versionRevision = 94;
/** /**
* Version suffix string (when applicable) * Version suffix string (when applicable)

View File

@@ -948,6 +948,8 @@ class Sanitizer extends Wire {
); );
$options = array_merge($defaultOptions, $options); $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); if(!is_string($value)) $value = $this->string($value);