serverstats (0.8.2-8) 02-fix_rrd_generation.diff

Summary

 includes/rrdgraph.class.php |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

    
download this patch

Patch contents

# Change parameter for autoscaling. Closes: #571964

diff -Naur serverstats-0.8.2.orig//includes/rrdgraph.class.php serverstats-0.8.2/includes/rrdgraph.class.php
--- serverstats-0.8.2.orig//includes/rrdgraph.class.php	2007-12-03 15:04:48.000000000 +0100
+++ serverstats-0.8.2/includes/rrdgraph.class.php	2010-03-16 19:27:04.000000000 +0100
@@ -319,7 +319,7 @@
 		}
 		if ($this->altAutoscaleMax)
 		{
-			$params .= ' -M ';
+			$params .= ' --alt-autoscale-max ';
 		}
 		if ($this->lazy)
 		{