The module is working except for when we use the search bible form.
It always comes up with an error notice:

Notice: Undefined index: select in bible_search_form_submit() (line 2295 of /home/stpaulsg/public_html/web/sites/all/modules/bible/bible.module).

The code that the notice refers to is

$bible = $form['search']['select']['#value'];

What can i do to fix this issue?

Comments

MikeLee_Birdy’s picture

Status: Active » Fixed

Dear Sir:
This bug happens when only one bible imports. There's two ways to solve:
1. Add another bible;
2. Add these lines after 2263:

  else {
    $form['search']['select'] = array(
			'#type' => 'hidden',
			'#value' => _bible_get_select_bid(),
    );
  }

Thanks for reporting bug.
MikeLee

ofcourse’s picture

Status: Fixed » Closed (fixed)

Thank you so much.
It worked.
And thanks for an excellent module.