Closed (fixed)
Project:
Personalized Settings
Version:
6.x-1.x-dev
Component:
Code
Priority:
Critical
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 Jun 2011 at 08:46 UTC
Updated:
23 Dec 2011 at 19:00 UTC
Trying to use the module for booking_timeslots. Does not work Multiple issues. The first mentioned below:
$form_enabled = array_search($form_id, $forms) !== FALSE;
Does not do anything. Manually assigning 'TRUE' to $form_enabled makes it work.
suggestions: could in_array() be used instead.. that too does not seem to work though.
Comments
Comment #1
kenorb commentedAdded missing brackets, maybe it will work now?
Committed to dev.
http://drupalcode.org/project/personalized_settings.git/commit/360e82c
Comment #2
kenorb commentedAssumed that it worked.