bradymiller/openemr — comment on commit a0e572611acefc0b26d3eca4ffa6950880f00c47
File: interface/patient_file/encounter/forms.php line 297
By bradymiller:

From previous review:
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'));