CodeIgniter Forums
[split] CodeIgniter 2.2.6 captcha bug? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6)
+--- Forum: Issues (https://forum.codeigniter.com/forumdisplay.php?fid=19)
+--- Thread: [split] CodeIgniter 2.2.6 captcha bug? (/showthread.php?tid=63529)



[split] CodeIgniter 2.2.6 captcha bug? - chronic - 11-04-2015

After upgrade now i've this kind of error in all page of my applications that use captcha...

Code:
A PHP Error was encountered
Severity: Notice

Message: Undefined variable: word_length

Filename: helpers/captcha_helper.php

Line Number: 147

A PHP Error was encountered
Severity: Notice

Message: Undefined variable: word_length

Filename: helpers/captcha_helper.php

Line Number: 188

A PHP Error was encountered
Severity: Warning

Message: Division by zero

Filename: helpers/captcha_helper.php

Line Number: 204

A PHP Error was encountered
Severity: Warning

Message: Division by zero

Filename: helpers/captcha_helper.php

Line Number: 276

Is a possible bug or something i'm wrong?


RE: CodeIgniter 2.2.6 Released - kenjis - 11-04-2015

It seems a bug.

https://github.com/bcit-ci/CodeIgniter/blob/develop/system/helpers/captcha_helper.php#L73
is missing in 2.2.6.


RE: CodeIgniter 2.2.6 Released - Jocke - 11-10-2015

Confirmed as a bug?
Will there be a release fixing this?