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

@@ -74,7 +74,7 @@ endif;
<?php
$i = 0;
if ( is_int( $number ) && $number > 0 )
if ( is_numeric( $number ) && $number > 0 )
$limit = $number;
foreach ( $data as $event ):