Index: /lib/filter_functions.inc.php
===================================================================
--- /lib/filter_functions.inc.php	(revision 7555)
+++ /lib/filter_functions.inc.php	(revision 7556)
@@ -518,5 +518,5 @@
 			if (wpsg_isSizedArray($_SESSION['sanitization_err_fields'])) {
 				
-				ob_start(); wpsg_debug($_SESSION['sanitization_err_fields']); $content .= '<div style="position:fixed; background-color:lightgrey; z-index:10000; left:50%; top:50%; width:500px; height:500px; overflow:scroll; margin-left:-250px; margin-top:-250px;">'.ob_get_contents().'</div>'; ob_end_clean();
+				//ob_start(); wpsg_debug($_SESSION['sanitization_err_fields']); $content .= '<div style="position:fixed; background-color:lightgrey; z-index:10000; left:50%; top:50%; width:500px; height:500px; overflow:scroll; margin-left:-250px; margin-top:-250px;">'.ob_get_contents().'</div>'; ob_end_clean();
 				
 	        	foreach($_SESSION['sanitization_err_fields'] as $field_name => $nCalls) {
Index: /mods/wpsg_mod_statistics.class.php
===================================================================
--- /mods/wpsg_mod_statistics.class.php	(revision 7555)
+++ /mods/wpsg_mod_statistics.class.php	(revision 7556)
@@ -621,6 +621,12 @@
 					$o = wpsg_getStr($this->shop->view['filter']['order']);
 					$s = wpsg_getStr($this->shop->view['filter']['sort']);
-					$r = wpsg_getStr($this->shop->view['standardFilter'][wpsg_getStr($this->shop->view['filter']['related'])]['point']);
-					$p = $this->shop->view['standardFilter'][$this->shop->view['filter']['standard']]['point'];
+					
+					if (isset($this->shop->view['standardFilter'][$this->shop->view['filter']['related']]) && isset($this->shop->view['standardFilter'][$this->shop->view['filter']['standard']])) {
+					
+						$r = $this->shop->view['standardFilter'][$this->shop->view['filter']['related']]['point'];
+						$p = $this->shop->view['standardFilter'][$this->shop->view['filter']['standard']]['point'];
+						
+					}
+					
 					$this->shop->view['chart']['data'] = $objchartClass->$chartFunction($p, array('relatedpoint' => $r, 'order' => $o, 'sort' => $s));
 					//$this->shop->view['chart']['info'] = $this->shop->view['charts'][$_REQUEST['id']]['type'][$_REQUEST['type']];
Index: /views/mods/mod_statistics/simplefilter.phtml
===================================================================
--- /views/mods/mod_statistics/simplefilter.phtml	(revision 7555)
+++ /views/mods/mod_statistics/simplefilter.phtml	(revision 7556)
@@ -1,2 +1,6 @@
+<?php 
+ 
+?>
+
 <script type="text/javascript">
 
