$this->input->get() and form_dropdown() combination => bug - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: $this->input->get() and form_dropdown() combination => bug (/showthread.php?tid=47631) |
$this->input->get() and form_dropdown() combination => bug - El Forum - 12-15-2011 [eluser]teomor[/eluser] $this->input->get() returns FALSE whenever a variable (key) is not set in the $_GET array. So when this value is fed to form_dropdown, it actually selects the option with a value of 0 instead of the option with a value of '', which is WRONG! Right? |