Patch (to be ported)
Project:
Content moderation
Version:
6.x-1.9
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Sep 2011 at 16:30 UTC
Updated:
17 Sep 2011 at 08:48 UTC
in _content_moderation_get_current_viewed_node
there is a call to menu_get_item
<?php
function _content_moderation_get_current_viewed_node() {
$router_item = menu_get_item($path);
?>
We don't have the $path variable here and menu_get_item doesn't need it anyways.
just call menu_get_item without sending any parameters.
Comments
Comment #1
eugenmayer commentedThanks for the contribution. Must be a leftover