Skip to content

Commit

Permalink
Seats CSV: fixed typo in permission check
Browse files Browse the repository at this point in the history
Misspelled the permission to check for.  We should use
constants for things like these.

Updates #224
  • Loading branch information
inghamn committed Mar 26, 2018
1 parent 80a9bfe commit 8cf7e87
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/csv/seats/data.inc
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $filename.= "-$date";

header("Content-Disposition: attachment; filename=\"$filename.csv\"");

$userCanViewContactInfo = Person::isAllowed('people', 'viewConcatInfo');
$userCanViewContactInfo = Person::isAllowed('people', 'viewContactInfo');
$fields = [
'Committee','Seat','Appointer','Firstname','Lastname',
'Term Start','Term End','Appointment Start', 'Appointment End'
Expand Down

0 comments on commit 8cf7e87

Please sign in to comment.