Osclass forums
Support forums => General help => 3.7.x => Topic started by: ayrancd on February 23, 2018, 10:54:50 pm
-
I found this file:
/oc-includes/osclass/UserActions.php
I have a cookie on my website called "codigo" and I found those lines below:
$input['s_name'] = trim(Params::getParam('s_name'));
$input['s_website'] = trim(Params::getParam('s_website'));
$input['s_phone_land'] = trim(Params::getParam('s_phone_land'));
$input['s_phone_mobile'] = trim(Params::getParam('s_phone_mobile'));
So I tried to add:
$input['indicacao'] = Params::getServerParam('codigo');
Or
$input['indicacao'] = Params::getParam('codigo');
But doesn't work...
How can I add that cookie value into my columns "indicacao" in the table "t_user"?