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.

Comments

thierry_gd’s picture

Could you describe a little more the problem on line 225

OffTraQ’s picture

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
}

thierry_gd’s picture

Fixed in 6.2.3

OffTraQ’s picture

Version: 6.x-2.1 » 6.x-2.3
Status: Active » Fixed

Status: Fixed » Closed (fixed)

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