X-Git-Url: http://git.cyclocoop.org/?a=blobdiff_plain;f=includes%2FWatchedItem.php;h=0ef2373783de4715f5521606532462d466e2285c;hb=2c66553ed35d2bca60dfb087a9b501b5ec33d4fb;hp=adee1264a39b471cbb872adcb2f80d8454378298;hpb=85f481a0dd58ec0bd3033685bc05b8f8baae4057;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/WatchedItem.php b/includes/WatchedItem.php index adee1264a3..0ef2373783 100644 --- a/includes/WatchedItem.php +++ b/includes/WatchedItem.php @@ -290,7 +290,7 @@ class WatchedItem { } else { $dbw = wfGetDB( DB_MASTER ); $dbw->update( 'watchlist', - array( 'wl_notificationtimestamp' => $notificationTimestamp ), + array( 'wl_notificationtimestamp' => $dbw->timestampOrNull( $notificationTimestamp ) ), $this->dbCond(), __METHOD__ );