A micro patch attached that changes template_preprocess_filefield_insert_widget(), because the following makes no sense:
if (isset($action['data']['width']) || isset($action['data']['width'])) {
and should clearly be:
if (isset($action['data']['width']) || isset($action['data']['height'])) {
Presumably this could lead to issues with presets where only a height is defined, if not fixed.
| Comment | File | Size | Author |
|---|---|---|---|
| width-width_to_width-height_micro.patch | 915 bytes | adrinux |
Comments
Comment #1
quicksketchThanks, committed!