Browse Source

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 years ago
parent
commit
fa3285fc9f
1 changed files with 1 additions and 1 deletions
  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.");