#7 » number of awards to display on the postbit
» Reported by arthurn | 09-14-2009, 10:36 PM
Information
Category None
Priority None
Status New
Assigned To Not Assigned
% Complete 0%

Timeline
arthurn reported this issue.
09-14-2009, 10:36 PM
The Problem
Code:
--- awards.php    2009-03-07 23:45:02.000000000 +0600
+++ awards1.php    2009-09-14 18:37:01.000000000 +0600
@@ -185,11 +185,11 @@
        while ($award=$db->fetch_array($getAwards))
        {
        $to=$award['to_uid'];
+            $count[$to]++;
            if (($count[$to] <= $mybb->settings['awards_on_postbit']) OR $mybb->settings['awards_on_postbit'] == '-1')
            {
                $awards[$to].="<a href='award.php?id={$award[gid]}' title='{$award[name]}'><img src='{$mybb->settings['bburl']}/images/awards/$award[image]' title='award image' border='0'/></a> &nbsp;";
            }
-            $count[$to]++;
        }
    }
}

Latest Comments

No Comments have been left for this Report.

0 Comments