Fix shortcode-generated row limits

This commit is contained in:
Brian Miyaji
2014-07-19 23:43:18 +10:00
parent 60ca7142a9
commit cb492ac7a2
4 changed files with 4 additions and 4 deletions

View File

@@ -57,7 +57,7 @@ $output .= '</tr>' . '</thead>' . '<tbody>';
$i = 0;
if ( is_numeric( $number ) && $number > 0 )
if ( intval( $number ) > 0 )
$limit = $number;
foreach( $data as $team_id => $row ):