[Rt-commit] r19246 - in rt/3.8/trunk: share/html/Dashboards/Elements/ShowPortlet
sartak at bestpractical.com
sartak at bestpractical.com
Thu Apr 16 20:28:43 EDT 2009
Author: sartak
Date: Thu Apr 16 20:28:43 2009
New Revision: 19246
Modified:
rt/3.8/trunk/ (props changed)
rt/3.8/trunk/share/html/Dashboards/Elements/ShowPortlet/dashboard
Log:
r82243 at onn: sartak | 2009-04-16 20:28:32 -0400
If things get too crazy, bail out
Modified: rt/3.8/trunk/share/html/Dashboards/Elements/ShowPortlet/dashboard
==============================================================================
--- rt/3.8/trunk/share/html/Dashboards/Elements/ShowPortlet/dashboard (original)
+++ rt/3.8/trunk/share/html/Dashboards/Elements/ShowPortlet/dashboard Thu Apr 16 20:28:43 2009
@@ -56,6 +56,8 @@
<%init>
my $current_dashboard = $Portlet;
my @panes = @{ $current_dashboard->Panes->{$Pane} || [] };
+
+Abort("Possible recursive dashboard detected.") if $Depth > 8;
</%init>
<%perl>
More information about the Rt-commit
mailing list