Closed (fixed)
Project:
Insert
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
9 Jan 2014 at 18:20 UTC
Updated:
1 Oct 2017 at 14:09 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
nielsaers commentedPatch works
Comment #2
bskibinskiTested and works.
Comment #3
malberts commentedThis look simple enough and I haven't had any issues.
I suspect, but haven't tested, that if you use this patch with an older version of Drupal before image styles got labels it might give a PHP notice.
Comment #4
progpapa commentedI haven't tested it with older versions of Drupal, but if there were PHP notices, this patch should fix those + I've added some sanitization, since image style names are user entered data.
Comment #5
AndyThornton commented+1
Thanks for this fix, I applied the patch it and it works fine.
Comment #6
mkolar commentedThanks for the fix.
Comment #7
Jej commentedQuite better, thanks!
Comment #9
snater commentedComment #10
snater commentedhttps://www.drupal.org/project/insert/releases/7.x-1.4