The documentation in the advanced help itself says:

All topics are addressed by the module providing the topic, and by the topic id. To embed links, use the following format:

$output .= theme('advanced_help_topic', $module, $topic);

This is wrong. To embed links the theme call must be:

$output .= theme('advanced_help_topic', array('module' => $module, 'topic' => $topic));

CommentFileSizeAuthor
#2 wrong-documentation-1700126-2.patch472 bytesvaibhavjain
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

NancyDru’s picture

You are correct. This stumped me for a while.

vaibhavjain’s picture

Status: Active » Needs review
FileSize
472 bytes

Here is a small patch for this.

thijsvdanker’s picture

Status: Needs review » Reviewed & tested by the community

I came to the same patch here (https://drupal.org/node/2085395), so I consider it reviewed :)

thijsvdanker’s picture

Issue summary: View changes

removed unnecessary documentation lines

redndahead’s picture

Issue summary: View changes
Status: Reviewed & tested by the community » Fixed

This has been committed to 7.x-1.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.