Преглед на файлове

Fix remote site fatal error by supplying the correct site id

Abdullah Almsaeed преди 6 години
родител
ревизия
811783cde2
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      tripal_ws/includes/TripalFields/remote__data/remote__data.inc

+ 1 - 1
tripal_ws/includes/TripalFields/remote__data/remote__data.inc

@@ -205,7 +205,7 @@ class remote__data extends WebServicesField {
        list($ctype, $qdata) = explode('?', $query);
      }
 
-     $data = tripal_get_remote_content($this->remote_site->site_id, $query);
+     $data = tripal_get_remote_content($this->remote_site->id, $query);
 
      return $data;
    }