diff --git a/booking.regn_node.inc b/booking.regn_node.inc index 139e5ee..436c487 100644 --- a/booking.regn_node.inc +++ b/booking.regn_node.inc @@ -108,7 +108,8 @@ function booking_load_query($node_ids = NULL, $fetchAssoc = FALSE) } */ } - + watchdog('booking_debug', "
Loading node query:\n@info", array('@info' => print_r( $query, true))); + //get the query result as either an associative array if ($fetchAssoc == TRUE) { @@ -118,7 +119,7 @@ function booking_load_query($node_ids = NULL, $fetchAssoc = FALSE) { $result = $query->execute(); } - + //watchdog('booking', "
Loading node query output:\n@info", array('@info' => print_r( $result, true))); return $result; }