From: Brion Vibber Date: Fri, 26 May 2006 01:40:26 +0000 (+0000) Subject: woops X-Git-Tag: 1.31.0-rc.0~57028 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=2cc1bdff41ddda5ea6a1b185d2dcbee4d399a4e4;p=lhc%2Fweb%2Fwiklou.git woops --- diff --git a/includes/Image.php b/includes/Image.php index 0f2251c83f..8dba559c05 100644 --- a/includes/Image.php +++ b/includes/Image.php @@ -1169,9 +1169,11 @@ class Image unlink( $thumbPath ); } else { // All good - wfDebugLog( 'thumbnail', - sprintf( 'thumbnail maybe failed on %s, non-empty output kept: "%s" from "%s"', - wfHostname(), trim($err), $cmd ) ); + if( $err !== true ) { + wfDebugLog( 'thumbnail', + sprintf( 'thumbnail maybe failed on %s, non-empty output kept: "%s" from "%s"', + wfHostname(), trim($err), $cmd ) ); + } $err = true; } }