Skip to content
This repository was archived by the owner on Sep 25, 2024. It is now read-only.

Share link access fix.#101

Open
govindmaloo wants to merge 1 commit intodpc-sdp:developfrom
govindmaloo:feature/100
Open

Share link access fix.#101
govindmaloo wants to merge 1 commit intodpc-sdp:developfrom
govindmaloo:feature/100

Conversation

@govindmaloo
Copy link

No description provided.

@govindmaloo govindmaloo changed the base branch from master to develop March 2, 2023 11:47
->addCacheableDependency($account);
}
$revision = $this->routeMatch->getParameter('node_revision');
if ($revision && $revision->id() === $node->id()) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this actually returns the revision id directly - $revision = $this->routeMatch->getParameter('node_revision');
Sp do not need to do this $revision->id() it ends up throwing error

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants