Explorar el Código

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

mestato hace 15 años
padre
commit
fa3285fc9f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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.");