|
@@ -21,7 +21,7 @@ function tripal_pub_remote_alter_form_AGL($form, $form_state) {
|
|
|
/**
|
|
|
*
|
|
|
*/
|
|
|
-function tripal_pub_remote_validate_form_AGL(&$form, $form_state) {
|
|
|
+function tripal_pub_remote_validate_form_AGL($form, $form_state) {
|
|
|
$days = trim($form_state['values']["days"]);
|
|
|
$num_criteria = $form['num_criteria']['#default_value'];
|
|
|
|
|
@@ -43,6 +43,7 @@ function tripal_pub_remote_validate_form_AGL(&$form, $form_state) {
|
|
|
form_set_error("search_terms-$i", "Unfortuantely, the AGL importer can only support a single accession at a time. Please remove the others.");
|
|
|
}
|
|
|
}
|
|
|
+ return $form;
|
|
|
}
|
|
|
/**
|
|
|
*
|