Skip to content

Commit

Permalink
php warning fix in gacl (openemr#2272)
Browse files Browse the repository at this point in the history
  • Loading branch information
bradymiller committed Mar 10, 2019
1 parent 41b5d19 commit a7bbd3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gacl/gacl_api.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -945,7 +945,7 @@ function add_acl($aco_array, $aro_array, $aro_group_ids=NULL, $axo_array=NULL, $
return false;
}

if ((empty($aco_array) || count($aro_array) == 0) AND (empty($aro_group_ids) || count($aro_group_ids) == 0)) {
if ((empty($aro_array) || count($aro_array) == 0) AND (empty($aro_group_ids) || count($aro_group_ids) == 0)) {
$this->debug_text("Must select at least one Access Request Object or Group");
return false;
}
Expand Down

0 comments on commit a7bbd3d

Please sign in to comment.