• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Custom backport of unbuffered_row in CI2

#2
Ok, obviously, the num_rows variable is not set before calling result_array() (this is for my other queries not using unbuffered_row).

So I should change this :
PHP Code:
if($query->num_rows 0

To this :
PHP Code:
if($query->num_rows() > 0


And I think it will work...
Test your translation files with Translation Tester
Reply


Messages In This Thread
RE: Custom backport of unbuffered_row in CI2 - by includebeer - 01-06-2016, 11:51 AM

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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