vtwqcfchn Posted February 15, 2015 Share Posted February 15, 2015 hi all I am adding a link (each row of grid) that point to a carrier. here is my folowling code: $token_carriers = Tools::getAdminToken('AdminCarriers'.(int)Tab::getIdFromClassName('AdminCarriers').(int)Context::getContext()->employee->id); $values= Db::getInstance()->ExecuteS($this->_query); foreach ($values as &$value) { $value['name'] ='<p><a href="index.php?controller=AdminCarrierWizard&token='.$token_carriers.'&id_carrier='.$value['id_carrier'].'">'.$this->l($value['name']).'</a></p>'; } I have got an error 'Invalid security token' after click any suggestion ? Link to comment Share on other sites More sharing options...
Recommended Posts