diff options
author | David Rothstein <drothstein@gmail.com> | 2013-12-29 15:32:28 -0500 |
---|---|---|
committer | David Rothstein <drothstein@gmail.com> | 2013-12-29 15:32:28 -0500 |
commit | 257fac8454924bb2f09aaee6a112f9f86f7520f1 (patch) | |
tree | 7c0bc3b7730b203fba3c1ef0ce491cf5b2525315 /modules/comment/comment.module | |
parent | 987892b79edcb3b2325fe551f261cd627c1f0e99 (diff) | |
download | brdo-257fac8454924bb2f09aaee6a112f9f86f7520f1.tar.gz brdo-257fac8454924bb2f09aaee6a112f9f86f7520f1.tar.bz2 |
Issue #1426122 by deletedaccount, Alan D., andypost, maximpodorov: Some callbacks return junk when calling drupal_not_found(); replace with return MENU_NOT_FOUND instead.
Diffstat (limited to 'modules/comment/comment.module')
-rw-r--r-- | modules/comment/comment.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/comment/comment.module b/modules/comment/comment.module index a83069f63..6f6c04b08 100644 --- a/modules/comment/comment.module +++ b/modules/comment/comment.module @@ -490,7 +490,7 @@ function comment_permalink($cid) { // Return the node view, this will show the correct comment in context. return menu_execute_active_handler('node/' . $node->nid, FALSE); } - drupal_not_found(); + return MENU_NOT_FOUND; } /** |