Closed (won't fix)
Project:
Availability Calendars
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
15 Nov 2011 at 16:13 UTC
Updated:
9 Jan 2013 at 19:03 UTC
When trying to add the provided views filter 'Content: myfieldname available' I get the following error:
Fatal error: Call to undefined function format_string() in /sites/all/modules/availability_calendars/availability_calendar_handler_filter_availability.inc on line 342
Comments
Comment #1
fietserwinformat_string is new in Drupal 7.9, so you should install Drupal 7.9.
Aside: I did not find a way to specify a dependency on a minimal minor version of core in the .info file. I will document it though on the project page.
Comment #2
xanoUse hook_requirements() to check whether the Drupal installation is version 7.9 or higher.
Comment #3
fietserwinI think I had a look at it back then and found that it is not possible to define a minimum minor version for core modules. But please correct me if I'm wrong.
Comment #4
xanohook_requirements() can do anything you want. The
coreproperty in info files can't.Comment #5
fietserwinI see, you're right of course. but IMO this is to much work for almost nothing: who is still below Drupal 7.9 but does upgrade this module?
If you can write a patch I will add it, but I'm afraid I don't have the time to do it myself.
Comment #6
fietserwin