Hi.

In hook_help there's something like:
switch ($section) {...

since $section is not defined, it should be like
switch ($path) {...

You also get $license, but never use this variable:
"$license = drupal_get_path('module', 'countries_api') .'/LICENSE.txt';"

Those are not important errors but generate tons of warnings while testing other modules.

Thanxs in advance.
Regads, Kevin.

Comments

Scyther’s picture

Status: Active » Fixed

$section has been changed to $path in the dev version for D6 for a long time ago.

$license will be commeted out in a commit to the dev version today.

Scyther’s picture

And thanks for the issue report. But be aware to check the dev version before submitting a issue because the issue could already been fixed there but none new release has released with that fix yet.

Scyther’s picture

Title: $section not defined in hook_user » $license is defined but never used in countries_api_help
KMC81’s picture

Thanks for the fix, and sorry for not checking out before!
;)

KMC81’s picture

Status: Fixed » Closed (fixed)