Pārlūkot izejas kodu

Merge pull request #23 from almasaeed2010/7.x-2.x

Fix function call
Stephen Ficklin 8 gadi atpakaļ
vecāks
revīzija
3ca8ef2d99
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      tripal_core/api/tripal_core.chado_query.api.inc

+ 2 - 2
tripal_core/api/tripal_core.chado_query.api.inc

@@ -829,8 +829,8 @@ function chado_delete_record($table, $match, $options = NULL) {
   $table_desc = chado_get_schema($table);
   $fields = $table_desc['fields'];
   if (empty($table_desc)) {
-    chado_delete_record('tripal_core', TRIPAL_WARNING,
-      'chado_insert_record; There is no table description for !table_name',
+    tripal_report_error('tripal_core', TRIPAL_WARNING,
+      'chado_delete_record; There is no table description for !table_name',
       array('!table_name' => $table), array('print' => $print_errors)
     );
   }