Changeset 110

Show
Ignore:
Timestamp:
11/29/06 11:10:05 (14 years ago)
Author:
knifee
Message:

Fixed a problem with the AwardBox? where it was counting 1,0,1,2.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • dev/common/class.box.php

    r104 r110  
    7474            $pilot = new Pilot($rows[$i - 1]['plt_id']);  
    7575                        $bar = new BarGraph($rows[$i - 1]['cnt'], $max, 60); 
    76                         $top[] = array('url'=> "?a=pilot_detail&plt_id=" . $rows[$i - 1]['plt_id'], 'name'=>$pilot->getName(),'bar'=>$bar->generate(),'cnt'=>$rows[$i - 1]['cnt']); 
     76                        $top[$i] = array('url'=> "?a=pilot_detail&plt_id=" . $rows[$i - 1]['plt_id'], 'name'=>$pilot->getName(),'bar'=>$bar->generate(),'cnt'=>$rows[$i - 1]['cnt']); 
    7777        } 
    7878                $smarty->assign('top',$top);