Skip to content
This repository has been archived by the owner on Mar 3, 2018. It is now read-only.

Commit

Permalink
petit intval pour les calculs
Browse files Browse the repository at this point in the history
  • Loading branch information
Grummfy committed Oct 20, 2012
1 parent f4914e6 commit 47590d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/class/class_forum.php
Expand Up @@ -254,7 +254,7 @@ public static function get_topics_read()
$forum_topic_read[$f_id] = 0;
if (Fsb::$session->is_authorized($row['f_id'], 'ga_view') && Fsb::$session->is_authorized($row['f_id'], 'ga_view_topics'))
{
$forum_topic_read[$f_id] = $row['total'];
$forum_topic_read[$f_id] = intval($row['total']);
$break = 0;
while ($parents[$f_id] && $break++ < 1000)
{
Expand Down

0 comments on commit 47590d1

Please sign in to comment.