]> git.ipfire.org Git - thirdparty/AWStats.git/commit
Fix "Illegal division by zero" error. 64/head
authorTomaz Solc <tomaz.solc@tablix.org>
Mon, 20 Mar 2017 09:55:00 +0000 (10:55 +0100)
committerTomaz Solc <tomaz.solc@tablix.org>
Mon, 20 Mar 2017 09:55:00 +0000 (10:55 +0100)
commit14c92eff715440242a3414c4bd723b9bdec8aa24
treea03d5101d3fe5006bd4aa4fb9e9e462a6c2bbdc6
parent331284f02befbff64b28e3dd972b4ce3e97a706b
Fix "Illegal division by zero" error.

"$Totalh" is zero when you have downloads with only 206 hits.

This commit doesn't draw the graph in such cases.
wwwroot/cgi-bin/awstats.pl