Issue #1833028 by michaelmol | rmfleet: Fixed bug which prevented image styles from being reverted on PHP 5.4.
parent
2b86b82f49
commit
2f00fb3589
|
@ -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.
|
||||
|
|
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue