Hi All,
I have an addon which is capturing the segment uri data with
$this->EE->uri->segment(2)and
$this->EE->uri->segment(3)the url is
http://site.com/_ajax/test/345/I’ve output a print_r of segment(2) and it’s correctly telling me it’s ‘test’, but when I try to output segment(3), it’s just blank.
However, if I change the value of segment(3) to /_ajax/test/ab345/ it returns ‘ab345’.
Why would it not be returning a numerical value for the segment uri? this was working when the site ran 2.1.3, but upgrading to 2.2.1 has created this bug - but it could well just be a coincidence.
Thanks,
Carl
[Mod Edit: Moved to the Development and Programming forum]
Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.