beghelli/omp — comment on commit 77dc8051dd87316277ec856c8a7a8de50513aa05
File: classes/security/authorization/OmpWorkflowStageAccessPolicy.inc.php line 32
By asmecher:

Beware of workflow stage 0, which is currently a valid stage (though that can change, bug #6463). I'd favour explicitly testing if $stageId !== null.