X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2FWatchedItemStore.php;h=06f93c6b99270f4c7d526a7bda8ecf3f0de11a14;hb=7fdc3d09a3b6bbb7ae046f46e5dbf65fd7aca8e4;hp=17728fa33e3a2ba4d7fe611dc3408a4fa7de82d9;hpb=c611380da2152c95f134eb2caf6e35b48f1be2d7;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WatchedItemStore.php b/includes/WatchedItemStore.php index 17728fa33e..06f93c6b99 100644 --- a/includes/WatchedItemStore.php +++ b/includes/WatchedItemStore.php @@ -467,7 +467,7 @@ class WatchedItemStore implements StatsdAwareInterface { $item = new WatchedItem( $user, $target, - $row->wl_notificationtimestamp + wfTimestampOrNull( TS_MW, $row->wl_notificationtimestamp ) ); $this->cache( $item ); @@ -581,7 +581,8 @@ class WatchedItemStore implements StatsdAwareInterface { ); foreach ( $res as $row ) { - $timestamps[$row->wl_namespace][$row->wl_title] = $row->wl_notificationtimestamp; + $timestamps[$row->wl_namespace][$row->wl_title] = + wfTimestampOrNull( TS_MW, $row->wl_notificationtimestamp ); } return $timestamps;