diff --git a/app/call_forward/resources/dashboard/call_forward.php b/app/call_forward/resources/dashboard/call_forward.php
index 3b6c00209c..b276793fb7 100644
--- a/app/call_forward/resources/dashboard/call_forward.php
+++ b/app/call_forward/resources/dashboard/call_forward.php
@@ -92,69 +92,74 @@
//begin widget
echo "
\n";
-//doughnut chart
- if ($show_stat) {
- echo "
\n";
- echo "
\n";
- echo "
\n";
+//set defaults
+ if ($stats['dnd'] == null) { $stats['dnd'] = 0; }
+ if ($stats['follow_me'] == null) { $stats['follow_me'] = 0; }
+ if ($stats['call_forward'] == null) { $stats['call_forward'] = 0; }
+ if ($stats['active'] == null) { $stats['active'] = 0; }
- echo "\n";
- }
+//doughnut chart
+ echo "
\n";
+ echo "
\n";
+ echo "
\n";
+
+ echo "\n";
//details
echo "
";
@@ -212,4 +217,4 @@
echo "\n";
echo "
\n";
-?>
\ No newline at end of file
+?>