* (bug 4165) Correct validation for user language selection (data taint)
* Add createpage and createtalk permission keys, allowing a quick
switch to disable page creation for anonymous users.
+* (bug 4167) Fix regression caused by patch for bug 153
=== Caveats ===
$boxheight = -1;
if ( '' == $manual_thumb ) {
$thumb = $img->getThumbnail( $boxwidth, $boxheight );
- if ( is_null( $thumb ) ) {
- return '<b>FATAL ERROR: Thumb object NULL in Linker.php:504</b>';
+ if ( $thumb ) {
+ $thumbUrl = $thumb->getUrl();
+ $boxwidth = $thumb->width;
+ $boxheight = $thumb->height;
}
- $thumbUrl = $thumb->getUrl();
- $boxwidth = $thumb->width;
- $boxheight = $thumb->height;
}
}
$oboxwidth = $boxwidth + 2;