From 49023734fe0fa5f673b1a08ca504e8797b613b39 Mon Sep 17 00:00:00 2001 From: Steve Boyd Date: Thu, 24 Nov 2022 13:02:02 +1300 Subject: [PATCH] API Stop using deprecated API --- src/PageTypes/DatedUpdateHolder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/PageTypes/DatedUpdateHolder.php b/src/PageTypes/DatedUpdateHolder.php index fa5c8dd..2751752 100644 --- a/src/PageTypes/DatedUpdateHolder.php +++ b/src/PageTypes/DatedUpdateHolder.php @@ -154,7 +154,7 @@ public static function AllUpdates( } catch (DatabaseException $e) { self::handleInvalidDateFormat($e); // Ensure invalid SQL does not get run again - $items = $className::get()->limit(0); + $items = $className::get()->limit(null); } // Unpaginated DataList.