Current code in node.module

function node_help($path, $arg) {
...
    case 'node/%/edit':
      $node = node_load($arg[1]);
      $type = node_type_load($node->type);
      return (!empty($type->help) ? '<p>' . filter_xss_admin($type->help) . '</p>' : '');

Throws notice and because usage of arg()

Notice: Trying to get property of non-object in node_help() (line 135 of core/modules/node/node.module).

Comments

andypost’s picture

Issue tags: +WSCCI, +D8MI

Tagging

Crell’s picture

Why is this WSCCI-tagged, exactly?

maciej.zgadzaj’s picture

Status: Active » Closed (duplicate)

Duplicate of #1894628: node_help() does not support language path prefixes (even though a bit more generic).
Also, it will be solved once #1831846: Help block is broken with language path prefixes (even more generic) is solved.