Adding a preset, I tried to add the "desaturate" action.
user warning: Field 'data' doesn't have a default value query: INSERT INTO imagecache_action (presetid, weight, module, action) VALUES (1, 0, 'imagecache', 'imagecache_desaturate') in C:\www\servers\meta.dragonbreath.local\win\6\includes\common.inc on line 3422.
Makes sense, as that action doesn't have any configuration.
Patch attached. Dunno if that's the best place or not, it does at least prevent sql problems.
| Comment | File | Size | Author |
|---|---|---|---|
| imagecache.patch | 513 bytes | bdragon |
Comments
Comment #1
mdeltito commentedI was having the same issue with desaturate, and I did the same to work-around.
Comment #2
drewish commentedthanks committed to DRUPAL-6--2