Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
WCMS
uw_ct_embedded_call_to_action
Commits
ffe6a94f
Commit
ffe6a94f
authored
Aug 22, 2017
by
Eric Bremner
Browse files
RT#639147: Printed out array properly in watchdog
parent
120d11e5
Changes
1
Hide whitespace changes
Inline
Side-by-side
uw_ct_embedded_call_to_action.module
View file @
ffe6a94f
...
...
@@ -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
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment