debugging

This commit is contained in:
2016-05-27 08:32:40 +10:00
parent fbd33d1afc
commit 04bbca85bb

View File

@@ -108,7 +108,8 @@ function booking_load_query($node_ids = NULL, $fetchAssoc = FALSE)
} }
*/ */
} }
watchdog('booking_debug', "<pre>Loading node query:\n@info</pre>", array('@info' => print_r( $query, true)));
//get the query result as either an associative array //get the query result as either an associative array
if ($fetchAssoc == TRUE) if ($fetchAssoc == TRUE)
{ {
@@ -118,7 +119,7 @@ function booking_load_query($node_ids = NULL, $fetchAssoc = FALSE)
{ {
$result = $query->execute(); $result = $query->execute();
} }
//watchdog('booking', "<pre>Loading node query output:\n@info</pre>", array('@info' => print_r( $result, true))); //watchdog('booking', "<pre>Loading node query output:\n@info</pre>", array('@info' => print_r( $result, true)));
return $result; return $result;
} }