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
Cast various things that are supposed to be ints
[lhc/web/wiklou.git]
/
includes
/
filerepo
/
file
/
ArchivedFile.php
diff --git
a/includes/filerepo/file/ArchivedFile.php
b/includes/filerepo/file/ArchivedFile.php
index
1d45428
..
0713a92
100644
(file)
--- a/
includes/filerepo/file/ArchivedFile.php
+++ b/
includes/filerepo/file/ArchivedFile.php
@@
-485,7
+485,7
@@
class ArchivedFile {
if ( $type == 'text' ) {
return $this->user_text;
} elseif ( $type == 'id' ) {
- return $this->user;
+ return
(int)
$this->user;
}
throw new MWException( "Unknown type '$type'." );