Closed (fixed)
Project:
Country codes API
Version:
6.x-1.1
Component:
Code
Priority:
Minor
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Aug 2011 at 13:04 UTC
Updated:
29 Aug 2011 at 13:33 UTC
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
Comment #1
Scyther commented$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.
Comment #2
Scyther commentedAnd 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.
Comment #3
Scyther commentedComment #4
KMC81 commentedThanks for the fix, and sorry for not checking out before!
;)
Comment #5
KMC81 commented