mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
이미지 카운터 위젯의 0으로 나누어지는 버그 수정. pakjce님 제보
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@2681 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
3aa66b81e0
commit
48caa053a9
1 changed files with 1 additions and 0 deletions
|
|
@ -100,6 +100,7 @@
|
|||
// 그래프를 그리기 위한 좌표 구함
|
||||
$unique_visitor = $val->unique_visitor;
|
||||
if($max_unique_visitor == 0) $per = 0;
|
||||
elseif($max_unique_visitor == $min_unique_visitor) $per = 0;
|
||||
else $per = ($val->unique_visitor-$min_unique_visitor) / ($max_unique_visitor-$min_unique_visitor);
|
||||
|
||||
// x,y 좌표 구함
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue