Hi,
The user_add_link takes nothing as input, and pulls it's record it will add from $IN. So you should make your changes directly:
$IN->param('Add_Date', $today);
$IN->param('Exp_Date', GT::Date::date_add($today, $duration));
..
So now when the user_add_link hook runs, it will pull from $IN the values you just set.
Let me know if you are still stuck.
Cheers,
Alex
--
Gossamer Threads Inc.
The user_add_link takes nothing as input, and pulls it's record it will add from $IN. So you should make your changes directly:
$IN->param('Add_Date', $today);
$IN->param('Exp_Date', GT::Date::date_add($today, $duration));
..
So now when the user_add_link hook runs, it will pull from $IN the values you just set.
Let me know if you are still stuck.
Cheers,
Alex
--
Gossamer Threads Inc.