Skip to content

Commit

Permalink
Fixing small bug where app panels were trying to render View/Elements…
Browse files Browse the repository at this point in the history
…/.panel_name.ctp.
  • Loading branch information
renan committed Jun 28, 2012
1 parent fe55cc1 commit e26ad4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion View/Elements/debug_toolbar.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<div class="panel-content-data">
<?php
echo $this->element($panelInfo['elementName'], $panelInfo, array(
'plugin' => Inflector::camelize($panelInfo['plugin'])
'plugin' => (empty($panelInfo['plugin'])) ? null : Inflector::camelize($panelInfo['plugin'])
));
?>
</div>
Expand Down

0 comments on commit e26ad4c

Please sign in to comment.