Skip to content
Snippets Groups Projects
Commit 9afdee50 authored by bgm's avatar bgm Committed by Aegir user
Browse files

noteaccess_civicrm_links: relax typing, caused php fatals

parent a825af15
No related branches found
No related tags found
No related merge requests found
......@@ -158,7 +158,7 @@ function noteaccess_civicrm_pageRun(&$page) {
/**
* On the Contact Notes tab, hide the edit/delete links if the note is restricted
*/
function noteaccess_civicrm_links(string $op, string $objectName, int $objectID, array &$links, &$mask, &$values) {
function noteaccess_civicrm_links(string $op, $objectName, $objectID, &$links, &$mask, &$values) {
if ($objectName == 'Note') {
if (!CRM_Noteaccess_Utils::userCanEditNote($objectID)) {
foreach ($links as $key => $link) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment