Ticket #795 (closed Bug: fixed)
Possible bug in kohana/system/libraries/drivers/Captcha.php
| Reported by: | ssax | Owned by: | Geert |
|---|---|---|---|
| Priority: | major | Milestone: | 2.2.1 |
| Component: | Libraries | Version: | SVN HEAD |
| Keywords: | captcha | Cc: |
Description
Line 120 of file.
image_create method.
$function = 'imagecreatefrom'.$this->image_type($filename);
should be
$function = 'imagecreatefrom'.$this->image_type($background);
$filename should be $background since background is the only passed in value. When I change it to $background it works. When I leave it as is it says undefined variable $filename.
Change History
Note: See
TracTickets for help on using
tickets.
