Changeset 200 for dev

Show
Ignore:
Timestamp:
04/02/07 21:54:56 (14 years ago)
Author:
ralle030583
Message:

bug in toplist.class ... made a stupid error which killed the loose page and some awards... fixed now

Location:
dev/common/includes
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • dev/common/includes/class.toplist.php

    r199 r200  
    279279                if (count($this->vic_scl_id)){ 
    280280                        $this->setPodsNoobShips(false); 
     281                }else{ 
     282                        $this->setPodsNoobShips(true); 
    281283                } 
    282284    } 
     
    307309        $this->setSQLBottom("group by ind.ind_crp_id order by 1 desc 
    308310                            limit 30"); 
    309                 if (count($this->vic_scl_id)){ 
    310                         $this->setPodsNoobShips(false); 
    311                 } 
     311         if (count($this->vic_scl_id)){ 
     312                $this->setPodsNoobShips(false); 
     313         }else{ 
     314                $this->setPodsNoobShips(true); 
     315         } 
     316 
    312317    } 
    313318} 
     
    361366        $this->setSQLBottom("group by kll.kll_victim_id order by 1 desc 
    362367                            limit 30"); 
    363                  if (count($this->vic_slc_id_)){ 
    364                         $this->setPodsNoobShips(false); 
    365                 } 
     368         if (!count($this->vic_scl_id_)){ 
     369                 $this->setPodsNoobShips(false); 
     370         } 
    366371    } 
    367372} 
     
    380385        $this->setSQLBottom("group by kll.kll_crp_id order by 1 desc 
    381386                            limit 30"); 
    382         if (count($this->vic_slc_id_)){ 
    383                         $this->setPodsNoobShips(false);  
    384                 } 
     387        if (count($this->vic_scl_id)){ 
     388                $this->setPodsNoobShips(false); 
     389         }else{ 
     390                $this->setPodsNoobShips(true); 
     391         } 
    385392    } 
    386393} 
  • dev/common/includes/globals.php

    r198 r200  
    11<?php 
    22// current subversion revision 
    3 preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 197 $', $match); 
     3preg_match('/\$Re'.'vision: (.*?) \$/', '$Revision: 200 $', $match); 
    44define('SVN_REV', $match[1]); 
    55