Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Extensions
OSDI
Commits
e988e9de
Commit
e988e9de
authored
Aug 25, 2018
by
andy gu
Browse files
fix osdi_permission check
parent
8981282f
Changes
1
Hide whitespace changes
Inline
Side-by-side
CRM/Osdi/Permission.php
View file @
e988e9de
...
...
@@ -32,7 +32,7 @@ class CRM_Osdi_Permission extends CRM_Core_Permission {
*
* @return bool
*/
public
static
function
check
(
$permissions
)
{
public
static
function
check
(
$permissions
,
$contactId
=
NULL
)
{
$permissions
=
(
array
)
$permissions
;
if
(
!
CRM_Core_Config
::
singleton
()
->
userPermissionClass
->
isModulePermissionSupported
())
{
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment