HomeHelpTrac

Ignore:
Timestamp:
02/16/09 02:36:18 (3 years ago)
Author:
Alexander Trofimov
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xmlrpc/BxDolXMLRPCMedia.php

    r8701 r9175  
    9696                'file' => new xmlrpcval($aRow['file']), 
    9797                'cat' => new xmlrpcval($sCat), 
    98                 'rate' => new xmlrpcval($aRow['gal_rating_count'] ? $aRow['gal_rating_sum']/$aRow['gal_rating_count'] : 0), 
    99                 'rate_count' => new xmlrpcval((int)$aRow['gal_rating_count']), 
     98                'rate' => new xmlrpcval($aRow['voting_rate']), 
     99                'rate_count' => new xmlrpcval((int)$aRow['voting_count']), 
    100100            ); 
    101101            $aFiles[] = new xmlrpcval($a, 'struct'); 
Note: See TracChangeset for help on using the changeset viewer.