Commit 3e421ae5 authored by jurgenhaas's avatar jurgenhaas

Issue #2892182 by jurgenhaas: Strict warning: Only variables should be passed by reference

parent 39659d6a
......@@ -70,7 +70,8 @@ function colorbox_field_formatter_field_formatter_settings_form($field, $instanc
$element = array();
$styles = _colorbox_field_formatter_get_styles();
$default_style = array_pop(array_keys($styles));
$style_keys = array_keys($styles);
$default_style = array_pop($style_keys);
if ($field['type'] == 'image') {
$image_styles = image_style_options(FALSE);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment