Closed (fixed)
Project:
ImageAPI
Version:
5.x-1.x-dev
Component:
ImageAPI GD
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Apr 2009 at 07:39 UTC
Updated:
28 Apr 2009 at 08:40 UTC
Jump to comment: Most recent file
Comments
Comment #1
avpadernoComment #2
avpadernoComment #3
dawehnerthe Problem is
the stdClass before $image,
This is quite a new php feature. if "stdClass" is not used here, nothing breakes, there are just problem with wrong parameters.
Are there any reason to use it here?
Comment #4
avpadernoIt should just suggest to PHP the type of the parameter used, but it doesn't give a big help when the parameter is a generic class like in this case.
As the module should be compatible with PHP4, the parameter type should be avoided.
Comment #5
drewish commentedHumm... yeah should fix that. affects both 5.x and 6.x. Committing the attached to DRUPAL-5 and DRUPAL-6--1.
Comment #6
drewish commentedactually only applied to the 5.x branch the 6.x has a PHP 5.1 requirement
Comment #7
drewish commented