Ticket #795 (closed Bug: fixed)

Opened 3 months ago

Last modified 3 months ago

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

Changed 3 months ago by Shadowhand

  • owner changed from Shadowhand to Ozoned
  • status changed from new to assigned
  • version set to SVN HEAD

Changed 3 months ago by Geert

  • owner changed from Ozoned to Geert
  • component changed from Core to Libraries

Changed 3 months ago by Geert

Fixed in r3364. Thanks, saxx, good catch.

Changed 3 months ago by Geert

  • status changed from assigned to closed
  • resolution set to fixed

Changed 3 months ago by dadajunkie

  • status changed from closed to reopened
  • resolution deleted

is not merged in /tags/2.2.1/

Changed 3 months ago by Shadowhand

  • status changed from reopened to closed
  • resolution set to fixed

Merged in r3380.

Note: See TracTickets for help on using tickets.