• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
New _fetch_from_array return NULL not FALSE and problem

#1
[eluser]Lechuss[/eluser]
Hi,

Dont know where to find why function "_fetch_from_array" from core/Input.php was changed from:
Code:
return FALSE;

to:

Code:
protected function _fetch_from_array(&$array, $index = '', $xss_clean = FALSE)
{
  if ( ! isset($array[$index]))
  {
   return NULL;
}

in CodeIgniter 2.1 develop version on github.

There is no info on:

https://github.com/EllisLab/CodeIgniter/...g.rst#id39


#2
[eluser]Aken[/eluser]
http://ellislab.com/forums/viewthread/215833/

#3
[eluser]CroNiX[/eluser]
Its in the updated user guide
https://github.com/EllisLab/CodeIgniter/.../input.rst

#4
[eluser]Lechuss[/eluser]
Thanks.

It looks like I should read whole develop/user_guide_src/source to find what was changed before upgrading to CI 2.1 develop (3.0?)

#5
[eluser]Aken[/eluser]
That should be the only thing that changes your application's code.

The development user guide is also online - http://codeigniter.com/nightly_user_guide/

#6
[eluser]Lechuss[/eluser]

Hmm, it looks that it's not up-to-date with 2.1 develop (3.0) from github.

first found diff:
https://github.com/EllisLab/CodeIgniter/...uilder.rst

And
http://codeigniter.com/nightly_user_guid...ecord.html


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2019 MyBB Group.