Issue #788110 by adrian: ctools_export_load_object() querybuilder was
authorSam Boyer
Tue, 18 May 2010 00:42:48 +0000 (00:42 +0000)
committerSam Boyer
Tue, 18 May 2010 00:42:48 +0000 (00:42 +0000)
not adding all fields (the equivalent to 'SELECT *') as it should.

includes/export.inc

index d03ef2d..35d3bf5 100644 (file)
@@ -75,7 +75,7 @@ function ctools_export_load_object($table, $type = 'all', $args = array()) {
   }
 
   // Build the query
-  $query = db_select($table);
+  $query = db_select($table)->fields($table);
   $conditions = array();
   $query_args = array();