Explorar o código

Fixed some chado_query calls in tripal_core that still passed strings

Lacey Sanderson %!s(int64=11) %!d(string=hai) anos
pai
achega
f438e83702
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tripal_core/api/tripal_core_chado.api.inc

+ 1 - 1
tripal_core/api/tripal_core_chado.api.inc

@@ -1904,7 +1904,7 @@ function chado_query($sql, $args = array()) {
   $is_local = tripal_core_is_chado_local();
 
   if (!is_array($args)) {
-    watchdog('tripal_core', 'Need to pass an array to chado_query, ":value" passed instead. Query: :query', array(':value' => $args, ':query' => $sql), WATCHDOG_ERROR);
+    watchdog('tripal_core', 'Need to pass an array to chado_query, "%value" passed instead. Query: %query', array('%value' => $args, '%query' => $sql), WATCHDOG_ERROR);
     $args = array($args);
   }