Assembla home | Assembla project page
 

Changeset 129

Show
Ignore:
Timestamp:
11/23/06 11:04:24 (2 years ago)
Author:
moensch
Message:

When tournament was started, defwins were only calculated within the temp table. Introduced a check to see whether they have to be calculated for the temp or real table.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/com_mls_tournaments/mls_tournaments.class.php

    r86 r129  
    328328                //make defwins 
    329329                $m = new $class( $database ); 
    330                 $m->makeDefwins( $this->id, true);  
     330                if($this->_temp) { 
     331                        $m->makeDefwins( $this->id, true ); 
     332                } else { 
     333                        $m->makeDefwins( $this->id, false ); 
     334                } 
     335                 
    331336                //this is now all done, update the tournament status, if not in TEMP mode 
    332337                if(!$this->_temp) {