I'm sorry that my explanation will look a bit confused, but it's difficult to describe this kind of problem, but maybe someone had the same kind of problem...
I have two modules created in the same way but one works fine and the other don't.
In the first page of the module I have a list of documents from a table database. Each title of this link has a link so that when I click on it I can edit the document. In this link I pass the id of the document. The problem is that after upgrading the Id can't be read on the other side.
I create the link like this:
Code: Select all
$onerow->categoria = $this->CreateLink($id, 'categorias_edit', $returnid, $row['categoria'], array('categoria_id'=>$row['categoria_id']));
But when I read the categoria_id on the categorias_edit page with this:
Code: Select all
$params['categoria_id']
I'm doing the exact same thing in another tab of the module, but the id comes ok, it has a correct value...
Does anyone have any ideia why this happens...
Thank you!