Correctly pull reviewer of active projects

This commit is contained in:
Alex Cabal 2025-01-30 12:44:57 -06:00
parent d942f4642b
commit 6261eee67f
2 changed files with 3 additions and 3 deletions

View file

@ -5,7 +5,7 @@ try{
if($urlPath !== null){
$identifier = EBOOKS_IDENTIFIER_PREFIX . trim(str_replace('.', '', $urlPath), '/'); // Contains the portion of the URL (without query string) that comes after `https://standardebooks.org/ebooks/`.
$project = Project::GetByIdentifierAndIsInProgress($identifier);
$project = Project::GetByIdentifierAndIsActive($identifier);
}
else{
$project = Project::Get(HttpInput::Int(GET, 'project-id'));