Changeset 1086


Ignore:
Timestamp:
07/06/09 14:59:29 (15 years ago)
Author:
niltonneto
Message:

Ticket #570 - Corrigido problema de atualização em algumas versões de módulos.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/phpgwapi/inc/class.setup_process.inc.php

    r2 r1086  
    634634 
    635635                                                /* $test array comes from update file.  It is a list of available upgrade functions */ 
    636                                                 @reset($test); 
     636                                                @reset($test);                                           
     637                                                 
    637638                                                while(list($x,$value) = @each($test)) 
    638639                                                { 
    639                                                         $this->currentversion = $currentver = $setup_info[$key]['currentver']; 
    640  
     640                                                                $this->currentversion = $currentver = $setup_info[$key]['currentver']; 
     641                                                                  
    641642                                                        /* build upgrade function name */ 
    642643                                                        $function = $appname . '_upgrade' . str_replace(".", '_', $value); 
    643  
     644                                                         
    644645                                                        if($DEBUG) 
    645646                                                        { 
     
    754755                                                        } 
    755756                                                        else 
    756                                                         { 
    757                                                                 break; 
     757                                                        {                                                                
     758                                                                continue; 
    758759                                                        } 
    759760                                                } 
Note: See TracChangeset for help on using the changeset viewer.