Skip to content

Commit

Permalink
NBNP-448 Only return page, not array of page
Browse files Browse the repository at this point in the history
  • Loading branch information
JacobSanford committed Jun 25, 2024
1 parent 1a479a4 commit 7297a38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public static function getPagesNeedingToMove($limit = 50) {
->getStorage('digital_serial_page')
->loadByProperties(['page_image' => $file->id()]);
if ($page != NULL) {
$pages[] = $page;
$pages[] = reset($page);
}
}
return $pages;
Expand Down

0 comments on commit 7297a38

Please sign in to comment.