Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
CiviCRM Core
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container registry
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Development
CiviCRM Core
Commits
d44f1882
Unverified
Commit
d44f1882
authored
5 years ago
by
Eileen McNaughton
Committed by
GitHub
5 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #16266 from jitendrapurohit/core-1517
#1517
- Permission error on event info page for anonymous users
parents
93885422
742b6a7d
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
CRM/Event/Page/EventInfo.php
+1
-1
1 addition, 1 deletion
CRM/Event/Page/EventInfo.php
with
1 addition
and
1 deletion
CRM/Event/Page/EventInfo.php
+
1
−
1
View file @
d44f1882
...
...
@@ -338,7 +338,7 @@ class CRM_Event_Page_EventInfo extends CRM_Core_Page {
}
$this
->
assign
(
'location'
,
$values
[
'location'
]);
if
(
CRM_Core_Permission
::
check
(
'access CiviEvent'
))
{
if
(
CRM_Core_Permission
::
check
(
[
'access CiviEvent'
,
'edit all events'
]
))
{
$enableCart
=
Civi
::
settings
()
->
get
(
'enable_cart'
);
$this
->
assign
(
'manageEventLinks'
,
CRM_Event_Page_ManageEvent
::
tabs
(
$enableCart
));
}
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment