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:
parent
6fa72b9d82
commit
e660fef809
|
@ -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 );
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue