Index: schedule/Module/calendar.php
===================================================================
--- schedule/Module/calendar.php	(revision 16438)
+++ schedule/Module/calendar.php	(revision 16439)
@@ -140,5 +140,5 @@
 											
 											}
-											GraphData(Data,srcs);
+											GraphData(Data,sources);
 											//document.getElementById('data').innerHTML=Data[sources];
 									}
@@ -147,5 +147,5 @@
 								xmlhttp.open("GET","http://www.fact-project.org/smartfact/index.php?source="+escape(source[sources])+"&time="+year+"-"+month+"-"+day,true);
 								xmlhttp.send();
-								document.getElementById('data').innerHTML=source.length+""+source[0];
+								document.getElementById('data').innerHTML=source.length+""+source[sources];
 								}
 							
