Browse Source

Fixed some chado_query calls in tripal_core that still passed strings

Lacey Sanderson 11 years ago
parent
commit
f438e83702
1 changed files with 1 additions and 1 deletions
  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);
   }