Welcome Guest, Not a member yet? Register   Sign In
not working getGetPost and getPostGet
#1

Hello Mate.

Currently using CodeIgniter 4.0.3 for a project I created, i do not know if this is a known bug or not.
But Recently i discovered, when using getGetPost or getPostGet, the second fallback doesn't return anything just empty array (array (0) {} with var_dump), but when i tried the getGet or getPost it return just fine.

So i post it here so someone could take a look.

So for workaround i just using the regular getGet or getPost.

Good Day Mate.
Reply
#2

I think when I use getGetPost with $index parameter is null , it should get ALL Get Data, isn't it?
Reply
#3

You should upgrade to CodeIgniter 4.0.4 which may have already fixed the problem.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply
#4

I don't know if it is on 4.0.4 or on the dev version, but definitely there's already a fix for that.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB