Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DDST-747: Fix error on Newspaper Members page #85

Closed
wants to merge 2 commits into from

Conversation

prashant-dgi
Copy link

No description provided.

@prashant-dgi
Copy link
Author

$node_id = $node instanceof NodeInterface ? $node->id() : NULL;

// If it's an object, get the ID. Otherwise, assume it's already the ID.
$node_id = is_object($node) ? $node->id() : $node;
Copy link
Contributor

Choose a reason for hiding this comment

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

this isn't needed because $node instanceof NodeInterface is already being checked? The module version just needs to be upgraded in the environment

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants