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:
ade7925
)
Fix silly bug in r54703 r53546
author
Andrew Garrett
<werdna@users.mediawiki.org>
Mon, 10 Aug 2009 11:04:30 +0000
(11:04 +0000)
committer
Andrew Garrett
<werdna@users.mediawiki.org>
Mon, 10 Aug 2009 11:04:30 +0000
(11:04 +0000)
includes/media/GIF.php
patch
|
blob
|
history
diff --git
a/includes/media/GIF.php
b/includes/media/GIF.php
index
fba54ae
..
0086812
100644
(file)
--- a/
includes/media/GIF.php
+++ b/
includes/media/GIF.php
@@
-24,8
+24,9
@@
class GIFHandler extends BitmapHandler {
}
function getImageArea( $image, $width, $height ) {
- if ($metadata) {
- $metadata = unserialize($image->getMetadata());
+ $ser = $image->getMetadata()
+ if ($ser) {
+ $metadata = unserialize($ser);
return $width * $height * $metadata['frameCount'];
} else {
return $width * $height;