|
@@ -404,6 +404,7 @@ function tripal_cv_select_form() {
|
|
|
function tripal_ajax_cv_edit() {
|
|
|
|
|
|
// get the database id, build the form and then return the JSON object
|
|
|
+ // @coder-ignore: Use $POST as part of AJAX
|
|
|
$cvid = $_POST['cvid'];
|
|
|
$form = drupal_get_form('tripal_cv_edit_form', $cvid);
|
|
|
drupal_json(array('status' => TRUE, 'data' => $form));
|
|
@@ -810,6 +811,7 @@ function tripal_cv_add_cvterm_callback() {
|
|
|
|
|
|
// Retrieve the form from the cache
|
|
|
$form_state = array('storage' => NULL);
|
|
|
+ // @coder-ignore: Use $POST as part of AJAX
|
|
|
$form_build_id = $_POST['form_build_id'];
|
|
|
$form = form_get_cache($form_build_id, $form_state);
|
|
|
|
|
@@ -1056,6 +1058,7 @@ function tripal_cv_update_cvtermpath($cvid = NULL, $job_id = NULL) {
|
|
|
print "\nUpdating cvtermpath for $cv->name...\n";
|
|
|
|
|
|
// now fill the cvtermpath table
|
|
|
+ // @coder-ignore: using a function rather then tablename therefore table prefixing doesn't apply
|
|
|
$sql = "SELECT * FROM fill_cvtermpath('%s')";
|
|
|
db_query($sql, $cv->name);
|
|
|
tripal_db_set_active($previous_db);
|