Download & Extend

"Undefined offset" notices when giving an empty image size

Project:Internationalization
Version:master
Component:Miscellaneous
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed (fixed)

Issue Summary

I get notice: Undefined offset: 1 in /home/www/dev.freso.dk/sites/all/modules/i18n/languageicons/languageicons.module on line 141. when I set "Image size" on admin/settings/language/configure/icons to "" (an empty string).

Setting it to an empty string work as expected though, making the flags/icons appear in their actual size. And nothing else seems to be amiss.

Comments

#1

Status:active» fixed

I guess the only use for this may be having icons of different size, but ok, fixed, should work now.

Thanks for testing this.

#2

The flag icons currently in CVS have varying dimensions (as do the ones I submitted) – just like the official specifications for the various flags give different dimensions! (E.g. Dannebrog (the Danish flag) has a ratio of 28:37, while the Union Flag (or Union Jack, flag of the United Kingdom) has a 1:2 ratio.)

Anyway, I tested the latest CVS, and it is indeed fixed. So thank you for fixing it. :)

#3

Status:fixed» closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.

nobody click here