사용후기 관련된 코드 변경
This commit is contained in:
1 parent
8e05a87f05
commit
7dbff272b4
23 files changed
+700
-82
No files matched your search
+1
-1
@@ -448,7 +448,7 @@ function get_star_image($it_id)
|
||||
{
|
||||
global $g4;
|
||||
|
||||
$sql = "select (SUM(is_score) / COUNT(*)) as score from {$g4['shop_item_ps_table']} where it_id = '$it_id' ";
|
||||
$sql = "select (SUM(is_score) / COUNT(*)) as score from {$g4['shop_item_use_table']} where it_id = '$it_id' ";
|
||||
$row = sql_fetch($sql);
|
||||
|
||||
return (int)get_star($row['score']);
|
||||
|
||||
Reference in new issue
Block a user