Index: trunk/phase3/includes/CategoryPage.php |
— | — | @@ -263,17 +263,11 @@ |
264 | 264 | $this->addPage( $title, $x->cl_sortkey, $x->page_len, $x->page_is_redirect ); |
265 | 265 | } |
266 | 266 | } |
267 | | - $dbr->freeResult( $res ); |
268 | 267 | } |
269 | 268 | |
270 | 269 | function getCategoryTop() { |
271 | | - $r = ''; |
272 | | - if( $this->until != '' ) { |
273 | | - $r .= $this->pagingLinks( $this->title, $this->nextPage, $this->until, $this->limit ); |
274 | | - } elseif( $this->nextPage != '' || $this->from != '' ) { |
275 | | - $r .= $this->pagingLinks( $this->title, $this->from, $this->nextPage, $this->limit ); |
276 | | - } |
277 | | - return $r == '' |
| 270 | + $r = $this->getCategoryBottom(); |
| 271 | + return $r === '' |
278 | 272 | ? $r |
279 | 273 | : "<br style=\"clear:both;\"/>\n" . $r; |
280 | 274 | } |