Welcome Guest, Not a member yet? Register   Sign In
Is it safe to suppress the update_batch bug in CI by making changes in System file``
#1

[eluser]jigarjain[/eluser]
My Problem is, i have used update_batch function of CI in few places in my app & it throws an error stating

Code:
A PHP Error was encountered

Severity: Notice

Message: Array to string conversion

Filename: database/DB_active_rec.php

Line Number: 1407

On googling a bit i found that it is actually an CI bug and had a fix here

It asks to change the line 1407 from
Code:
$not[] = $k.'-'.$v;

to this

Code:
$not[] = $k2.'-'.$v2;

Wanted to know whether it would be safe to make this change in System File ? I mean are there any other dependencies which might get affected because of this change ?


Messages In This Thread
Is it safe to suppress the update_batch bug in CI by making changes in System file`` - by El Forum - 05-22-2013, 05:16 AM



Theme © iAndrew 2016 - Forum software by © MyBB