|
@@ 5129-5135 (lines=7) @@
|
| 5126 |
|
# Special case; width and height come in one variable together |
| 5127 |
|
if ( $type === 'handler' && $paramName === 'width' ) { |
| 5128 |
|
$parsedWidthParam = $this->parseWidthParam( $value ); |
| 5129 |
|
if ( isset( $parsedWidthParam['width'] ) ) { |
| 5130 |
|
$width = $parsedWidthParam['width']; |
| 5131 |
|
if ( $handler->validateParam( 'width', $width ) ) { |
| 5132 |
|
$params[$type]['width'] = $width; |
| 5133 |
|
$validated = true; |
| 5134 |
|
} |
| 5135 |
|
} |
| 5136 |
|
if ( isset( $parsedWidthParam['height'] ) ) { |
| 5137 |
|
$height = $parsedWidthParam['height']; |
| 5138 |
|
if ( $handler->validateParam( 'height', $height ) ) { |
|
@@ 5136-5142 (lines=7) @@
|
| 5133 |
|
$validated = true; |
| 5134 |
|
} |
| 5135 |
|
} |
| 5136 |
|
if ( isset( $parsedWidthParam['height'] ) ) { |
| 5137 |
|
$height = $parsedWidthParam['height']; |
| 5138 |
|
if ( $handler->validateParam( 'height', $height ) ) { |
| 5139 |
|
$params[$type]['height'] = $height; |
| 5140 |
|
$validated = true; |
| 5141 |
|
} |
| 5142 |
|
} |
| 5143 |
|
# else no validation -- bug 13436 |
| 5144 |
|
} else { |
| 5145 |
|
if ( $type === 'handler' ) { |