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:
f979de5
)
Fixed "wfTimestamp() fed bogus time value" errors
author
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 10 Jun 2015 01:47:49 +0000
(18:47 -0700)
committer
Aaron Schulz
<aschulz@wikimedia.org>
Wed, 10 Jun 2015 01:47:49 +0000
(18:47 -0700)
* This broke OutputPage::checkLastModified() as the touched time was false
Change-Id: I118d3ddf07c7b69ad269f3aee0c70ab4159df192
includes/User.php
patch
|
blob
|
history
diff --git
a/includes/User.php
b/includes/User.php
index
bf0326a
..
61313a3
100644
(file)
--- a/
includes/User.php
+++ b/
includes/User.php
@@
-2362,7
+2362,7
@@
class User implements IDBAccessObject {
$timestamp = $cache->getCheckKeyTime( $key );
if ( $timestamp ) {
- $this->mQuickTouched = wfTimestamp( TS_MW, $timestamp );
+ $this->mQuickTouched = wfTimestamp( TS_MW,
(int)
$timestamp );
} else {
# Set the timestamp to get HTTP 304 cache hits
$this->touch();