Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix undefined throwing error in CRM.checkPerm #13513

Merged
merged 1 commit into from
Jan 30, 2019

Conversation

colemanw
Copy link
Member

@colemanw colemanw commented Jan 30, 2019

Overview

Fixes civicrm/org.civicrm.tutorial#5

Before

The CRM.checkPerm() function might throw an error if no permissions had been set server-side.

After

The function returns undefined rather than throwing an error if no permissions have been defined.

@civibot
Copy link

civibot bot commented Jan 30, 2019

(Standard links)

@civibot civibot bot added the master label Jan 30, 2019
@eileenmcnaughton eileenmcnaughton merged commit bc4b7a4 into civicrm:master Jan 30, 2019
@eileenmcnaughton eileenmcnaughton deleted the Fix branch January 30, 2019 20:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants