Commit ffe6a94f authored by Eric Bremner's avatar Eric Bremner
Browse files

RT#639147: Printed out array properly in watchdog

parent 120d11e5
......@@ -377,7 +377,7 @@ function cke_cta_process($text, $filter, $format, $langcode, $cache, $cache_id)
// Load in the view using the nid.
$view_result = views_get_view_result('embedded_call_to_action', 'call_to_action_page', $nid);
watchdog('info', $view_result);
watchdog('info', '<pre>' . print_r($view_result, true) . '</pre>');
// If the result from the vides is not empty.
if(isset($view_result) && $view_result !== NULL && !empty($view_result)) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment