From df876480713c743269496b875b13a4aada43126c Mon Sep 17 00:00:00 2001 From: Nathan Coad Date: Fri, 27 May 2016 08:52:42 +1000 Subject: [PATCH] debug --- booking.regn_node.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/booking.regn_node.inc b/booking.regn_node.inc index 436c487..45c62c4 100644 --- a/booking.regn_node.inc +++ b/booking.regn_node.inc @@ -108,7 +108,7 @@ function booking_load_query($node_ids = NULL, $fetchAssoc = FALSE) } */ } - watchdog('booking_debug', "
Loading node query:\n@info
", array('@info' => print_r( $query, true))); + watchdog('booking_debug', "
Loading node query:\n@info
", array('@info' => print_r( (string)$query, true))); //get the query result as either an associative array if ($fetchAssoc == TRUE)