Skip to content

Commit

Permalink
Minor improvements
Browse files Browse the repository at this point in the history
Signed-off-by: Michael Eshom <[email protected]>
  • Loading branch information
Oldiesmann committed Nov 19, 2023
1 parent 15b15f7 commit d64843c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Sources/Actions/Moderation/Home.php
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ protected function notes(): void

// Grab the current notes. We can only use the cache for the first page of notes.
$offset = isset($_GET['notes']) && isset($_GET['start']) ? $_GET['start'] : 0;
$start = isset($_GET['start']) ? $_GET['start'] : 0;
$start = (int) ($_GET['start'] ?? 0);

if ($offset != 0 || ($moderator_notes = CacheApi::get('moderator_notes', 240)) === null)
{
Expand Down

0 comments on commit d64843c

Please sign in to comment.