Closed (fixed)
Project:
Flickr
Version:
6.x-1.x-dev
Component:
flickr (main module)
Priority:
Normal
Category:
Bug report
Reporter:
Created:
9 Nov 2008 at 14:32 UTC
Updated:
24 Nov 2008 at 00:04 UTC
Jump to comment: Most recent
After a lot of heartache, staring at the code and continuously thinking that it should work, and yet it clearly didn't, I took quite a long time to figure out why the class attribute was omitted from the HTML output. E.g. given [flickr-photo:id=xx,class=something], the HTML attribute should be class="something flickr-photo-img", not class=" flickr-photo-img".
It's a very trivial typo in flickr.inc that caused me so much trouble, though:
if (empty($attributs['class'])) {
$attributes['class'] = NULL;
}
There's a single 's' missing in the first line, and the above should have been:
if (empty($attributes['class'])) {
$attributes['class'] = NULL;
}
Comments
Comment #1
Anonymous (not verified) commentedThanks, ill get that committed.
Comment #2
Anonymous (not verified) commented