php error on line 93 of moduleinfo.module

zcc_nz - September 15, 2008 - 01:49
Project:ModuleInfo
Version:5.x-1.0
Component:Code
Category:bug report
Priority:normal
Assigned:jabapyth
Status:closed
Description

I enable and get:
"Missing argument 1 for arg(), called in .../sites/all/modules/moduleinfo/moduleinfo.module on line 93 and defined in .../includes/path.inc on line 148."

Line 93 code before: $res = module_invoke($module,"help","admin/help#".$module,arg());
I changed it to: $res = module_invoke($module,"help","admin/help#$module");

The error goes away, and the link to admin help displays correctly (I think).

Is this right?
Thanks

#1

jabapyth - September 15, 2008 - 11:24

You're right, thank you.. Ill fix that as soon as I can.

#2

jabapyth - September 15, 2008 - 19:41
Assigned to:Anonymous» jabapyth
Status:active» fixed

fixed

temp

Anonymous (not verified) - September 29, 2008 - 19:44

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

#3

Anonymous (not verified) - September 29, 2008 - 20:02
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.