From 224db7deb225c641a6c3c046210a0b493510d7f6 Mon Sep 17 00:00:00 2001 From: MusikAnimal Date: Mon, 10 Jul 2023 22:19:43 -0400 Subject: [PATCH] Pages: fix reference to revision timestamp --- src/Model/Pages.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/Pages.php b/src/Model/Pages.php index 7024198ee..9ee817717 100644 --- a/src/Model/Pages.php +++ b/src/Model/Pages.php @@ -127,7 +127,7 @@ public function getLastTimestamp(): ?string } $numResults = count($this->getResults()[$this->getNamespace()]); - $timestamp = new DateTime($this->getResults()[$this->getNamespace()][$numResults - 1]['rev_timestamp']); + $timestamp = new DateTime($this->getResults()[$this->getNamespace()][$numResults - 1]['timestamp']); return $timestamp->format('Y-m-d\TH:i:s'); }