Hello.I have created a custom module. The Page callback got called twice so my function unfuddle_csv_process_file() got called twice too. How do I stop it from doing that? Please help me
$items['admin/unfuddle_csv/process'] = array(
'title' => 'Totally make unfuddle tickets',
'access callback' => 'user_access',
'access arguments' => array('access content'),
'page callback' => 'unfuddle_csv_process_file',
'page arguments' => array(3),
'type' => MENU_CALLBACK,
unfuddle_csv_process_file function POSTs to server so i need it to work only once!
P.S. I can POST the whole code that would help solve the problem.
Thank you for helping!