dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge "ApiQueryAllUsers: Set 'array' type on result arrays"
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
LocalFile.php
diff --git
a/includes/filerepo/file/LocalFile.php
b/includes/filerepo/file/LocalFile.php
index
d368d90
..
ba437f0
100644
(file)
--- a/
includes/filerepo/file/LocalFile.php
+++ b/
includes/filerepo/file/LocalFile.php
@@
-734,7
+734,7
@@
class LocalFile extends File {
if ( $type == 'text' ) {
return $this->user_text;
} elseif ( $type == 'id' ) {
- return $this->user;
+ return
(int)
$this->user;
}
}
@@
-753,7
+753,7
@@
class LocalFile extends File {
function getBitDepth() {
$this->load();
- return $this->bits;
+ return
(int)
$this->bits;
}
/**