debugging
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user