From 04bbca85bb6c85ab98563895a7e15cc39ef41c17 Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 27 May 2016 08:32:40 +1000 Subject: [PATCH] debugging --- booking.regn_node.inc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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; }