wrong function call in weekdays_date_restrictions

Issue information

From user: hatsch

Contribution record

Fork management

in line 52 of weekdays_date_restrictions.module it should be

$options = date_restrictions_get_bundle_instances_as_options($bundles, 'weekdays');
instead of
$options = date_restrictions_get_bundle_fields_as_options($bundles, 'weekdays');

at least editing a date field throughs an error, and i cannot find any reference for a function called date_restrictions_get_bundle_fields_as_options

Edited by drupalbot
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information