WordPress.org

Plugin Directory

Changeset 698604


Ignore:
Timestamp:
04/16/13 16:17:41 (12 months ago)
Author:
donncha
Message:

Display 10 polls per page rather than 9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • polldaddy/trunk/polldaddy.php

    r697468 r698604  
    12951295 
    12961296        if ( 'user' == $view ) 
    1297             $polls_object = $polldaddy->get_polls( ( $page - 1 ) * 10 + 1, $page * 10 ); 
     1297            $polls_object = $polldaddy->get_polls( ( $page - 1 ) * 10 + 1, $page * 10 + 1); 
    12981298        else 
    1299             $polls_object = $polldaddy->get_polls_by_parent_id( ( $page - 1 ) * 10 + 1, $page * 10 ); 
     1299            $polls_object = $polldaddy->get_polls_by_parent_id( ( $page - 1 ) * 10 + 1, $page * 10 + 1); 
    13001300 
    13011301        $this->parse_errors( $polldaddy ); 
Note: See TracChangeset for help on using the changeset viewer.