summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2012-01-18 19:46:46 (GMT)
committer Earl Miles2012-01-18 19:46:46 (GMT)
commit2066d593e03c5530fecd0f944164a2417bf69c0b (patch)
treec8edb41ae84d2880b0f33dde28bdb8f5e9495c9b
parentd8616975e0e7251e0ba328fff055fa9f31fa8959 (diff)
Sanitize region names in admin view.6.x-3.10
-rw-r--r--plugins/display_renderers/panels_renderer_editor.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/display_renderers/panels_renderer_editor.class.php b/plugins/display_renderers/panels_renderer_editor.class.php
index e26e093..0ca2146 100644
--- a/plugins/display_renderers/panels_renderer_editor.class.php
+++ b/plugins/display_renderers/panels_renderer_editor.class.php
@@ -90,7 +90,7 @@ class panels_renderer_editor extends panels_renderer_standard {
// @todo this should be panel-region not panels-display -- but CSS and .js has to be updated.
$output = "<div class='panels-display' id='panel-pane-$region_id'>";
$output .= $panel_buttons;
- $output .= "<h2 class='label'>" . $this->plugins['layout']['panels'][$region_id] . "</h2>";
+ $output .= "<h2 class='label'>" . check_plain($this->plugins['layout']['panels'][$region_id]) . "</h2>";
$output .= $content;
$output .= "</div>";