Issue #1833028 by michaelmol | rmfleet: Fixed bug which prevented image styles from being reverted on PHP 5.4.

merge-requests/26/head
David Rothstein 2012-12-08 16:19:28 -05:00
parent 2b86b82f49
commit 2f00fb3589
2 changed files with 2 additions and 1 deletions

View 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.

View 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(