Posted by asb on March 9, 2008 at 11:47pm
Jump to:
| Project: | Text Size |
| Version: | 5.x-1.3.x-dev |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
Hi,
I installed the Text Size module on five Drupal sites; on four, I got the following error after activating:
warning: Missing argument 2 for textsize_help() in /var/www/drupal/modules/textsize/textsize.module on line 12.
warning: Missing argument 2 for textsize_help() in /var/www/drupal/modules/textsize/textsize.module on line 12.This error appears continuously on *all* administrative pages (/admin/*)
Also, I noticed in admin/user/access when setting the permissions, that there is an option "administer textsize". However, I can't find a tool to administer textsize in the admin/* section. Any ideas?
Thanks & greetings, -asb
PS: "Text Size" is another feature that has to go into core...
Comments
#1
According to http://api.drupal.org/api/function/hook_help/5 hook_help only takes one parameter
function hook_help($section) {but the module defines two
function textsize_help($path, $arg) {though the function never seems to call the second argument so perhaps it's ok to just remove it?
#2
fixed
#3
where do we access/apply this fix?in CVS, can confirm fix is working at my end, thanks.#4
Automatically closed -- issue fixed for two weeks with no activity.