Closed (fixed)
Project:
FileField Insert
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2009 at 16:01 UTC
Updated:
14 Jul 2009 at 22:20 UTC
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!