Bug Report #1209
class Image_GD_Driver bug (GD.php)
| Status: | Closed | Start date: | ||
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | Libraries:Image | |||
| Target version: | 2.4 | |||
| Resolution: | Points: |
Description
In the class Image_GD_Driver which extents from Image_Driver is a little bug. The method
public function process get the following parameters: ($image, $actions, $dir, $file, $render = FALSE)
but it should get this: ($image, $actions, $dir, $file, $render = FALSE, $background = NULL). That means
that the last parameter is to les. With out this parameter you get the following error:
Fatal error: Declaration of Image_GD_Driver::process() must be compatible with that of Image_Driver::process() in ...xxx/xxx/system/libraries/drivers/Image/GD.php on line 12
Related issues
Associated revisions
Fixes #1209
History
Updated by Samuel Vogel almost 3 years ago
I attached a patch which fixes this issue.
Updated by Woody Gilk almost 3 years ago
- Status changed from New to Closed
- Resolution set to duplicate
See #1193.
Updated by Samuel Vogel over 2 years ago
- Status changed from Closed to Feedback
- Target version set to 2.4
This should rather relate #1193 and not be a duplicate!
Updated by Jeremy Bush over 2 years ago
- Resolution deleted (
duplicate)
Updated by Sam de Freyssinet over 2 years ago
- Status changed from Feedback to Closed
- % Done changed from 0 to 100
- 11 set to 2.3.4
Applied in changeset r4420.