Closed (fixed)
Project:
Better Formats
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 18:00 UTC
Updated:
29 Sep 2011 at 23:01 UTC
HI I got the error:
•warning: Missing argument 2 for i18nstrings(), called in /var/www/sites/all/modules/better_formats/better_formats.module on line 633 and defined in /var/www/sites/all/modules/i18n/i18nstrings/i18nstrings.module on line 1097.
Fix was:
diff /var/www/sites/all/modules/better_formats/better_formats.module /var/www/sites/all/modules/better_formats/better_formats.module.orig
633c633
< $text = i18nstrings('better_formats', $text);
---
> $text = i18nstrings($text);
I'm not sure if this is actually correct, the api doc for i18nstrings() is not that great.
Comments
Comment #1
dragonwize commentedYeah, they changed the function and signature in the new versions hoping they will find the right one and stick with it. Thanks, I'll check it out and commit later, don't have the time atm.
Comment #2
dragonwize commentedThanks. Fixed.