Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
project
xmlsitemap
Commits
da264b2f
Commit
da264b2f
authored
Aug 06, 2018
by
jweowu
Committed by
pifagor
Aug 06, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Issue
#1963964
by jweowu, alex_optim, pifagor: Don't use $reset flag with node_load()
parent
2852e972
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
xmlsitemap_node/xmlsitemap_node.module
xmlsitemap_node/xmlsitemap_node.module
+1
-1
No files found.
xmlsitemap_node/xmlsitemap_node.module
View file @
da264b2f
...
...
@@ -103,7 +103,7 @@ function xmlsitemap_node_node_delete(stdClass $node) {
* Implements hook_comment_update().
*/
function
xmlsitemap_node_comment_update
(
stdClass
$comment
)
{
if
(
$node
=
node_load
(
$comment
->
nid
,
NULL
,
TRUE
))
{
if
(
$node
=
entity_load_unchanged
(
'node'
,
$comment
->
nid
))
{
xmlsitemap_node_node_update
(
$node
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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