From 12b7bfe2333db4a6cd68c5372ac866ad7593ebf6 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Thu, 20 Oct 2011 19:05:48 +0000 Subject: [PATCH] More whitespace tweaks...and fixed doc typo --- thumb.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thumb.php b/thumb.php index dfbd4a30b9..15a8666308 100644 --- a/thumb.php +++ b/thumb.php @@ -46,7 +46,7 @@ function wfThumbMain() { unset( $params['r'] ); // ignore 'r' because we unconditionally pass File::RENDER // Is this a thumb of an archived file? - $isOld = (isset( $params['archived'] ) && $params['archived']); + $isOld = ( isset( $params['archived'] ) && $params['archived'] ); unset( $params['archived'] ); // Some basic input validation @@ -182,7 +182,7 @@ function wfThumbError( $status, $msg ) { } else { header( 'HTTP/1.1 500 Internal server error' ); } - if( $wgShowHostnames ) { + if ( $wgShowHostnames ) { $url = htmlspecialchars( isset( $_SERVER['REQUEST_URI'] ) ? $_SERVER['REQUEST_URI'] : '' ); $hostname = htmlspecialchars( wfHostname() ); $debug = "\n\n"; -- 2.20.1