Skip to content

Commit

Permalink
Update dump.php
Browse files Browse the repository at this point in the history
Apply one single change on dumpTemplate method to be compatible with JRegistry (Joomla 3.2) and the new Registry namespace (Joomla 3.3).
  • Loading branch information
garstud committed Apr 22, 2014
1 parent 8b78804 commit 47630d7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/plugins/system/dump/dump.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function dump( $var = null, $name = '(unknown name)', $type = null, $level = 0 )
*/
function dumpTemplate( $var, $name = false ) {
$name = $name ? $name : $var->template;
dump( $var->params->_registry['parameter']['data'], $name );
dump( $var->params->toObject(), "dumpTemplate params : ".$name);
}

/**
Expand Down

0 comments on commit 47630d7

Please sign in to comment.