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

kenorb’s picture

Status: Active » Needs review
-  $form_enabled = array_search($form_id, $forms) !== FALSE;
+  $form_enabled = (array_search($form_id, $forms) !== FALSE);

Added missing brackets, maybe it will work now?
Committed to dev.
http://drupalcode.org/project/personalized_settings.git/commit/360e82c

kenorb’s picture

Status: Needs review » Fixed

Assumed that it worked.

Status: Fixed » Closed (fixed)

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