CF name AVERAGE is allowed, not only AVG

git-svn-id: svn+ssh://repo.cacti.net/var/data/svnroot/cacti/cacti/branches/0.8.7@4794 860744bd-22fc-0310-8c96-e9fe5004b5ca
This commit is contained in:
Reinhard Scheck committed 2008-11-02 19:15:49 +00:00
1 parent 796ecbfe71
commit a7fd181700
1 file changed
+1
+1
View File
@@ -1250,6 +1250,7 @@ function get_rrd_cfs($local_data_id) {
foreach($cfs as $cf) {
switch($cf) {
case "AVG":
case "AVERAGE":
$new_cfs[] = array_search('AVERAGE', $consolidation_functions);
break;
case "MIN":