Page MenuHomePhorge

Fix undefined variable in HeraldAction
ClosedPublic

Authored by aklapper on Jul 24 2024, 15:48.

Details

Summary

$no_permission is only defined within if ($object instanceof PhabricatorPolicyInterface), thus move the check for if ($no_permission) into that clause.

Test Plan

Read the code.

Diff Detail

Repository
rP Phorge
Lint
Lint Not Applicable
Unit
Tests Not Applicable