diff --git a/IUTClass.php b/IUTClass.php index 15ea4e3..093252b 100644 --- a/IUTClass.php +++ b/IUTClass.php @@ -56,7 +56,7 @@ class IUT { ); $row = $res->fetchRow(); if ( $row ) { - $vote_count = $row->votecount; + $vote_count = (int) $row->votecount; } $cache->set( $key, $vote_count ); }