Skip to content

Commit

Permalink
API Stop using deprecated API
Browse files Browse the repository at this point in the history
  • Loading branch information
emteknetnz committed Nov 24, 2022
1 parent c716712 commit 4902373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PageTypes/DatedUpdateHolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit 4902373

Please sign in to comment.