dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17d0c1b
)
woops
author
Brion Vibber
<brion@users.mediawiki.org>
Fri, 26 May 2006 01:40:26 +0000
(
01:40
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Fri, 26 May 2006 01:40:26 +0000
(
01:40
+0000)
includes/Image.php
patch
|
blob
|
history
diff --git
a/includes/Image.php
b/includes/Image.php
index
0f2251c
..
8dba559
100644
(file)
--- 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;
}
}