Commit 8d53c534 authored by Dries's avatar Dries

- Patch #1614292 by brockjo: fixed image_style_delete_form() doesn't take...

- Patch #1614292 by brockjo: fixed image_style_delete_form() doesn't take form_state() by reference.
parent 10631112
......@@ -271,7 +271,7 @@ function image_style_name_validate($element, $form_state) {
* @ingroup forms
* @see image_style_delete_form_submit()
*/
function image_style_delete_form($form, $form_state, $style) {
function image_style_delete_form($form, &$form_state, $style) {
$form_state['image_style'] = $style;
$replacement_styles = array_diff_key(image_style_options(), array($style['name'] => ''));
......
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