Issue #1833028 by michaelmol | rmfleet: Fixed bug which prevented image styles from...
authorDavid Rothstein
Sat, 8 Dec 2012 21:19:28 +0000 (16:19 -0500)
committerDavid Rothstein
Sat, 8 Dec 2012 21:19:28 +0000 (16:19 -0500)
CHANGELOG.txt
modules/image/image.admin.inc

index 6b2c303..e603b02 100644 (file)
@@ -1,6 +1,7 @@
 
 Drupal 7.18, xxxx-xx-xx (development version)
 -----------------------
+- Fixed bug which prevented image styles from being reverted on PHP 5.4.
 - Made the default .htaccess rules protocol sensitive to improve security for
   sites which use HTTPS and redirect between "www" and non-"www" versions of
   the page.
index ab99a49..9f0fab2 100644 (file)
@@ -326,7 +326,7 @@ function image_style_delete_form_submit($form, &$form_state) {
 /**
  * Confirmation form to revert a database style to its default.
  */
-function image_style_revert_form($form, $form_state, $style) {
+function image_style_revert_form($form, &$form_state, $style) {
   $form_state['image_style'] = $style;
 
   return confirm_form(