WordPress.org

Plugin Directory

Changeset 766978


Ignore:
Timestamp:
09/04/13 16:45:37 (8 months ago)
Author:
donncha
Message:

oops, this check was broken

File:
1 edited

Legend:

Unmodified
Added
Removed
  • polldaddy/trunk/polldaddy-org.php

    r766975 r766978  
    10671067        return $content; 
    10681068    // convert to 5 star rating 
    1069     if ( $rating[ 'type' ] == 1 ) 
     1069    if ( $rating[0][ 'type' ] == 1 ) 
    10701070        $average = ceil( ( $rating[0][ 'average' ] / $rating[0][ 'votes' ] ) * 5 ); 
    10711071    else 
Note: See TracChangeset for help on using the changeset viewer.