Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Issue forks
imageapi_optimize-3226168
Commits
0d2e543d
Commit
0d2e543d
authored
Jun 16, 2010
by
Hai-Nam Nguyen
Browse files
Bug
#829556
by nicholasThompson: PHP 5.3 compatibility
parent
d9057e5f
Changes
1
Hide whitespace changes
Inline
Side-by-side
imageapi_optimize.module
View file @
0d2e543d
...
...
@@ -131,7 +131,7 @@ function imageapi_optimize_image_overlay(&$image, &$layer, $x, $y, $alpha, $reve
function
_imageapi_optimize_invoke
(
$method
,
&
$image
,
array
$params
=
array
())
{
$function
=
variable_get
(
'imageapi_optimize_toolkit'
,
''
)
.
'_image_'
.
$method
;
if
(
function_exists
(
$function
))
{
array_unshift
(
$params
,
$image
);
array_unshift
(
$params
,
&
$image
);
return
call_user_func_array
(
$function
,
$params
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment