summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEarl Miles2012-01-18 19:49:04 (GMT)
committer Earl Miles2012-01-18 19:49:04 (GMT)
commitd8449420800d37acec6bd1c775aec5dc449c71f5 (patch)
tree9ae07d38b70719ada92bc75a1a146f9ef5a02398
parent3cd0440e5aaf222657611cd420931ef94b861699 (diff)
Sanitize region names in admin view.7.x-3.0
-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 ca1ca84..4fee7e3 100644
--- a/plugins/display_renderers/panels_renderer_editor.class.php
+++ b/plugins/display_renderers/panels_renderer_editor.class.php
@@ -84,7 +84,7 @@ class panels_renderer_editor extends panels_renderer_standard {
$output = "<div class='panel-region' id='panel-region-$region_id'>";
$output .= $panel_buttons;
- $output .= "<h2 class='label'>" . $this->plugins['layout']['regions'][$region_id] . "</h2>";
+ $output .= "<h2 class='label'>" . check_plain($this->plugins['layout']['regions'][$region_id]) . "</h2>";
$output .= $content;
$output .= "</div>";