Bug in the module

OffTraQ - December 3, 2008 - 12:41
Project:tellafriend
Version:6.x-2.3
Component:Code
Category:bug report
Priority:critical
Assigned:Unassigned
Status:closed
Description

The code is wrong on the line number 49,56 and 225
In line no 49: 'page arguments' => 'tellafriend_settings', is written but it should be 'page arguments' => array('tellafriend_settings'),

In line no 56:Same problem 'page arguments' => 'tellafriend_page', is written but it should be 'page arguments' => array('tellafriend_page'),
In line 225 $form_state is not used as an argument value for a form.

#1

thierry_gd - December 3, 2008 - 23:14

Could you describe a little more the problem on line 225

#2

OffTraQ - December 4, 2008 - 05:03

Sorry it's line no 227. Here u have to pass the argument $form_state in to the function tellafriend_page()

like function tellafriend_page($form_state) {
--- code
}

#3

thierry_gd - December 4, 2008 - 14:28

Fixed in 6.2.3

#4

OffTraQ - December 5, 2008 - 08:06
Version:6.x-2.1» 6.x-2.3
Status:active» fixed

#5

System Message - December 19, 2008 - 08:11
Status:fixed» closed

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

 
 

Drupal is a registered trademark of Dries Buytaert.