Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
D
devel
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Insights
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Locked Files
Drupal.org issue queue
Drupal.org issue queue
Security & Compliance
Security & Compliance
Dependency List
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
project
devel
Commits
5ce5d923
Commit
5ce5d923
authored
Oct 21, 2009
by
salvis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
#498028
: Fix kprint_r() not displaying $name.
parent
979da168
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
devel.module
devel.module
+1
-1
No files found.
devel.module
View file @
5ce5d923
...
@@ -1318,7 +1318,7 @@ function dvr($input, $return = FALSE, $name = NULL) {
...
@@ -1318,7 +1318,7 @@ function dvr($input, $return = FALSE, $name = NULL) {
function
kprint_r
(
$input
,
$return
=
FALSE
,
$name
=
NULL
,
$function
=
'print_r'
)
{
function
kprint_r
(
$input
,
$return
=
FALSE
,
$name
=
NULL
,
$function
=
'print_r'
)
{
if
(
has_krumo
())
{
if
(
has_krumo
())
{
if
(
user_access
(
'access devel information'
))
{
if
(
user_access
(
'access devel information'
))
{
return
$return
?
krumo_ob
(
$input
)
:
krumo
(
$input
);
return
$return
?
(
isset
(
$name
)
?
$name
.
' => '
:
''
)
.
krumo_ob
(
$input
)
:
krumo
(
$input
);
}
}
}
}
else
{
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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