It looks like system_list() is using both $list['module_enable'] and $list['module_enabled'] for the same thing (note the enable/enabled change) -- someone might want to check this out? Probably the caching isn't working in this function due to this typo?

e.g.

elseif (!isset($lists['module_enable'])) {
$lists = array(
        'module_enabled' => array(),
        'theme' => array(),
        'filepaths' => array(),
      );
CommentFileSizeAuthor
#1 648262-typo-module-inc.patch2.01 KBbrianV
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

brianV’s picture

Status: Active » Needs review
FileSize
2.01 KB

Nice catch. Patch attached, also with a few whitespace fixes.

jhodgdon’s picture

If you're going to fix the whitespace in the doc block, you might remove the extra blank line. There should just be one blank line between paragraphs, or between paragraph/@param. And there should be a blank line between the last @param and the @return if there isn't already, according to current standards.

Other than that, I'll let the testing bot see if the patch is OK.

Dries’s picture

Committed to CVS HEAD. Leaving status as is so we can follow-up with new line patches, if we want to.

jhodgdon’s picture

Status: Needs review » Fixed

Let's not worry about that now. It's a very minor doc thing that doesn't change how doc is displayed on api.drupal.org, and not relevant to this issue really.

Status: Fixed » Closed (fixed)

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