NikitOS
Well-known member
Hi!
I have a routing:
To create a link here, I use the link function in the templates:
The $pgData variable contains the result
As I understand it, the
What am I doing wrong?
I have a routing:
To create a link here, I use the link function in the templates:
{{ link('mv-sbi/pg', $pgData) }}
The $pgData variable contains the result
\XF::finder('MV\SBI:Pg')->where('name', $userId)->fetchOne();
As I understand it, the
bid
parameter should be added to the routing /mv-sbi/pg
, which is taken from $pgData
, but this does not happen and at the output I get the link /mv-sbi/pg
What am I doing wrong?