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:
1ec45be
)
Followup r67707, cast these to boolean just to be paranoid
author
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 9 Jun 2010 15:06:11 +0000
(15:06 +0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Wed, 9 Jun 2010 15:06:11 +0000
(15:06 +0000)
includes/ImageGallery.php
patch
|
blob
|
history
diff --git
a/includes/ImageGallery.php
b/includes/ImageGallery.php
index
0b44ab9
..
3e6e3b9
100644
(file)
--- a/
includes/ImageGallery.php
+++ b/
includes/ImageGallery.php
@@
-183,7
+183,7
@@
class ImageGallery
* @param $f Boolean: set to false to disable.
*/
function setShowBytes( $f ) {
- $this->mShowBytes = $f;
+ $this->mShowBytes =
(bool)
$f;
}
/**
@@
-193,7
+193,7
@@
class ImageGallery
* @param $f Boolean: set to false to disable.
*/
function setShowFilename( $f ) {
- $this->mShowFilename = $f;
+ $this->mShowFilename =
(bool)
$f;
}
/**