소스 검색

Add the correct pass by reference ampersand to return theme('tripal_library_library_table', &$libraries), as required by the new version of php.

mestato 15 년 전
부모
커밋
fa3285fc9f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      tripal_library/tripal_library.module

+ 1 - 1
tripal_library/tripal_library.module

@@ -802,7 +802,7 @@ function tripal_library_show_libraries (){
       if($no_libs != count($libraries)) {
          drupal_set_message("Synchronization needed.");
       }
-      return theme('tripal_library_library_table', $libraries);
+      return theme('tripal_library_library_table', &$libraries);
    } else {
       return t("No library exists. Please contact administrators to ".
                "synchronize libraries.");