| @@ -401,9 +401,9 @@ | ||
| 401 | 401 | $blog_id = gamipress_switch_to_main_site_if_network_wide_active(); |
| 402 | 402 | |
| 403 | 403 | // Sanitization |
| 404 | 404 | $limit = absint( $limit ); |
| 405 | - $offset = absint( $limit ); | |
| 405 | + $offset = absint( $offset ); | |
| 406 | 406 | $order = gamipress_validate_from_array( strtoupper( $order ), array( 'ASC', 'DESC' ), 'DESC' ); |
| 407 | 407 | |
| 408 | 408 | // Turn no attributes to false |
| 409 | 409 | if( $current_user === 'no' ) |