[Rt-commit] r13702 - in rt/3.8/trunk: .

sartak at bestpractical.com sartak at bestpractical.com
Mon Jun 30 22:40:04 EDT 2008


Author: sartak
Date: Mon Jun 30 22:40:03 2008
New Revision: 13702

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/share/html/Dashboards/index.html

Log:
 r63538 at onn:  sartak | 2008-06-30 22:32:24 -0400
 Safeguard the lists of dashboards


Modified: rt/3.8/trunk/share/html/Dashboards/index.html
==============================================================================
--- rt/3.8/trunk/share/html/Dashboards/index.html	(original)
+++ rt/3.8/trunk/share/html/Dashboards/index.html	Mon Jun 30 22:40:03 2008
@@ -54,18 +54,18 @@
 
 <& /Dashboards/Elements/ShowDashboards,
     Type       => "Personal",
-    Dashboards => [sort { $a->Id <=> $b->Id } @{ $dashboards->{personal} }],
+    Dashboards => [sort { $a->Id <=> $b->Id } @{ $dashboards->{personal} || [] }],
 &>
 
 <& /Dashboards/Elements/ShowDashboards,
     Type => "System",
-    Dashboards => [sort { $a->Id <=> $b->Id } @{ $dashboards->{system} }],
+    Dashboards => [sort { $a->Id <=> $b->Id } @{ $dashboards->{system} || [] }],
 &>
 
 % for my $group (sort keys %{ $dashboards->{group} || {} }) {
     <& /Dashboards/Elements/ShowDashboards,
         Type       => $group,
-        Dashboards => [sort { $a->Id <=> $b->Id } @{$dashboards->{group}{$group}}],
+        Dashboards => [sort { $a->Id <=> $b->Id } @{ $dashboards->{group}{$group} || [] }],
     &>
 % }
 


More information about the Rt-commit mailing list