diff --git a/includes/db.inc b/includes/db.inc index 353fa94..201f77a 100644 --- a/includes/db.inc +++ b/includes/db.inc @@ -23,7 +23,7 @@ function upei_roblib_ill_log_request($request, $response) { 'patron_lastname' => $request['DeliveryAddress']['Surname'], 'patron_type' => $request['DeliveryAddress']['patron_type'], 'patron_department' => $request['DeliveryAddress']['Department'], - 'patron_email' => $request['DeliveryAddress']['DeliveryAddress'], + //'patron_email' => $request['DeliveryAddress']['DeliveryAddress'], 'notes' => isset($request['DeliveryAddress']['notes']) ? $request['DeliveryAddress']['notes'] : '', 'genre' => isset($request['BibliographicInfo']['Genre']) ? $request['BibliographicInfo']['Genre'] : '', 'author' => isset($request['BibliographicInfo']['Author']) ? $request['BibliographicInfo']['Author'] : '', diff --git a/includes/form.inc b/includes/form.inc index 9711700..2c4c357 100644 --- a/includes/form.inc +++ b/includes/form.inc @@ -195,22 +195,21 @@ function upei_roblib_ill_auth_form($form, &$form_state) { '#options' => $departments, '#required' => TRUE, ); - $form['DeliveryAddress'] = array( + /*$form['DeliveryAddress'] = array( '#type' => 'textfield', '#title' => t('Your Email'), '#size' => 50, - '#required' => TRUE, - ); + ); */ $form['InstitutionName'] = array( - '#type' => 'textfield', + '#type' => 'hidden', '#title' => t('Name of Institution'), '#size' => 50, '#default_value' => 'University of Prince Edward Island', '#required' => TRUE, ); $form['LibraryName'] = array( - '#type' => 'textfield', + '#type' => 'hidden', '#title' => t('Name of Library'), '#size' => 50, '#default_value' => 'Robertson Library',