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:
e983e01
)
use $sourcePath here too
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 13 Aug 2008 02:05:24 +0000
(
02:05
+0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 13 Aug 2008 02:05:24 +0000
(
02:05
+0000)
thumb.php
patch
|
blob
|
history
diff --git
a/thumb.php
b/thumb.php
index
6af0698
..
9fdc601
100644
(file)
--- a/
thumb.php
+++ b/
thumb.php
@@
-124,7
+124,7
@@
function wfThumbMain() {
$errorMsg = $thumb->getHtmlMsg();
} elseif ( !$thumb->getPath() ) {
$errorMsg = wfMsgHtml( 'thumbnail_error', 'No path supplied in thumbnail object' );
- } elseif ( $thumb->getPath() == $
img->getPath()
) {
+ } elseif ( $thumb->getPath() == $
sourcePath
) {
$errorMsg = wfMsgHtml( 'thumbnail_error', 'Image was not scaled, ' .
'is the requested width bigger than the source?' );
} else {