md-tech/openemr — comment on commit 159a9fe977995ca926d7c5ab6e4358cfe9c5bb5f
File: interface/patient_file/encounter/forms.php line 295
By bradymiller:

To not lose functionality, shouldn't also check everything from the above if call at line 265 (with the interval check on the $auth_notes and $auth_relaxed elements also:
if (($auth_notes_a) ||
($auth_notes && $iter['user'] == $_SESSION['authUser']) ||
($auth_relaxed && ($formdir == 'sports_fitness' || $formdir == 'podiatry')) ||
acl_check('encounters', 'notes_a_v'));