Эх сурвалжийг харах

Merge branch '7.x-3.x' of github.com:tripal/tripal into 7.x-3.x

Chun-Huai Cheng 7 жил өмнө
parent
commit
460ad41f82

+ 1 - 0
tripal/includes/TripalEntityUIController.inc

@@ -751,6 +751,7 @@ function tripal_entity_form_ajax_callback($form, $form_state) {
   * Submit callback for tripal_entity_delete_form
   */
  function tripal_entity_delete_form_submit($form, &$form_state) {
+   global $user;
    $entity = $form_state['entity'];
 
    if (!entity_access('delete', 'TripalEntity', $entity, $user)) {