|
@@ 5185-5191 (lines=7) @@
|
| 5182 |
|
# Special case; width and height come in one variable together |
| 5183 |
|
if ( $type === 'handler' && $paramName === 'width' ) { |
| 5184 |
|
$parsedWidthParam = $this->parseWidthParam( $value ); |
| 5185 |
|
if ( isset( $parsedWidthParam['width'] ) ) { |
| 5186 |
|
$width = $parsedWidthParam['width']; |
| 5187 |
|
if ( $handler->validateParam( 'width', $width ) ) { |
| 5188 |
|
$params[$type]['width'] = $width; |
| 5189 |
|
$validated = true; |
| 5190 |
|
} |
| 5191 |
|
} |
| 5192 |
|
if ( isset( $parsedWidthParam['height'] ) ) { |
| 5193 |
|
$height = $parsedWidthParam['height']; |
| 5194 |
|
if ( $handler->validateParam( 'height', $height ) ) { |
|
@@ 5192-5198 (lines=7) @@
|
| 5189 |
|
$validated = true; |
| 5190 |
|
} |
| 5191 |
|
} |
| 5192 |
|
if ( isset( $parsedWidthParam['height'] ) ) { |
| 5193 |
|
$height = $parsedWidthParam['height']; |
| 5194 |
|
if ( $handler->validateParam( 'height', $height ) ) { |
| 5195 |
|
$params[$type]['height'] = $height; |
| 5196 |
|
$validated = true; |
| 5197 |
|
} |
| 5198 |
|
} |
| 5199 |
|
# else no validation -- bug 13436 |
| 5200 |
|
} else { |
| 5201 |
|
if ( $type === 'handler' ) { |