浏览代码

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

Chun-Huai Cheng 7 年之前
父节点
当前提交
460ad41f82
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tripal/includes/TripalEntityUIController.inc

+ 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)) {