Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
1 addition
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
842c616
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello @eldy , this is not enough to solve the problem. If we don't want to modify the file ../comm/action/card.php as I did, then we will have to modify the function dol_check_secure_access_document () in the file ../core/lib/files.lib.php.
In this function, for the variable $modulepart the value 'agenda' is not considered, only 'actions' is considered. So we should also add
$modulepart == 'actions' || $modulepart == 'agenda'