| @@ 136-140 (lines=5) @@ | ||
| 133 |             if (empty($lastyear)) { | 
                                |
| 134 | $lastyear = $this_year;  | 
                                |
| 135 | }  | 
                                |
| 136 |             if (0 == $lastmonth) { | 
                                |
| 137 | $lastmonth = $this_month;  | 
                                |
| 138 | $months[$lastmonth]['string'] = $months_arr[$lastmonth];  | 
                                |
| 139 | $months[$lastmonth]['number'] = $lastmonth;  | 
                                |
| 140 | }  | 
                                |
| 141 |             if ($lastyear != $this_year) { | 
                                |
| 142 | $years[$i]['number'] = $lastyear;  | 
                                |
| 143 | $years[$i]['months'] = $months;  | 
                                |
| @@ 149-153 (lines=5) @@ | ||
| 146 | $lastyear = $this_year;  | 
                                |
| 147 | ++$i;  | 
                                |
| 148 | }  | 
                                |
| 149 |             if ($lastmonth != $this_month) { | 
                                |
| 150 | $lastmonth = $this_month;  | 
                                |
| 151 | $months[$lastmonth]['string'] = $months_arr[$lastmonth];  | 
                                |
| 152 | $months[$lastmonth]['number'] = $lastmonth;  | 
                                |
| 153 | }  | 
                                |
| 154 | }  | 
                                |
| 155 | }  | 
                                |
| 156 | $years[$i]['number'] = $this_year;  | 
                                |