1
0
Fork 0
mirror of https://bitbucket.org/vertlach/iusethis.git synced 2024-06-17 07:30:50 +03:00

people count as int

This commit is contained in:
Alexander Yakovlev 2023-08-08 13:11:50 +06:00
parent 6fa72b9d82
commit e660fef809

View file

@ -56,7 +56,7 @@ class IUT {
); );
$row = $res->fetchRow(); $row = $res->fetchRow();
if ( $row ) { if ( $row ) {
$vote_count = $row->votecount; $vote_count = (int) $row->votecount;
} }
$cache->set( $key, $vote_count ); $cache->set( $key, $vote_count );
} }