Index: trunk/extensions/Validator/Validator.class.php |
— | — | @@ -133,11 +133,11 @@ |
134 | 134 | } |
135 | 135 | } else { |
136 | 136 | $name = strtolower( trim( array_shift( $parts ) ) ); |
137 | | - $parameters[$name] = trim( implode( $parts ) ); |
| 137 | + $parameters[$name] = trim( implode( '=', $parts ) ); |
138 | 138 | } |
139 | 139 | } |
140 | | - } |
141 | | - |
| 140 | + } |
| 141 | + |
142 | 142 | $this->setParameters( $parameters ); |
143 | 143 | } |
144 | 144 | |
Index: trunk/extensions/Validator/Validator_Manager.php |
— | — | @@ -38,7 +38,7 @@ |
39 | 39 | */ |
40 | 40 | public function manageParameters( array $rawParameters, array $parameterInfo, array $defaultParams = array() ) { |
41 | 41 | global $egValidatorErrorLevel; |
42 | | - |
| 42 | + |
43 | 43 | $validator = new Validator(); |
44 | 44 | |
45 | 45 | $validator->setParameterInfo( $parameterInfo ); |
— | — | @@ -51,7 +51,7 @@ |
52 | 52 | if ( $egValidatorErrorLevel < Validator_ERRORS_STRICT ) $validator->correctInvalidParams(); |
53 | 53 | if ( $egValidatorErrorLevel >= Validator_ERRORS_WARN ) $this->errors = $validator->getErrors(); |
54 | 54 | } |
55 | | - |
| 55 | + |
56 | 56 | return !$hasFatalError ? $validator->getValidParams() : false; |
57 | 57 | } |
58 | 58 | |