Changeset 675


Ignore:
Timestamp:
Dec 29, 2013, 9:45:39 PM (11 years ago)
Author:
maron
Message:
  • Fixed: tested for permission in progress
  • Fixed: script update all to new version end
Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/Export/Export.php

    r674 r675  
    256256
    257257  function AddProgress($add = 2) {
    258     if (file_exists($this->TempDir.'progress')) {
     258    if ((file_exists($this->TempDir.'progress')) and (fopen($this->TempDir.'progress', 'w'))) { 
    259259      $File = new FileStream();
    260260      $File->OpenFile($this->TempDir.'progress');
  • trunk/admin/index.php

    r674 r675  
    168168
    169169          $sql = 'SELECT * FROM `'.$Group['TablePrefix'] .'` as `T` '.
    170           ' WHERE `T`.`Entry` = '.$line['Entry'].' AND `T`.`Take` = '.$line2['ID']
     170          ' WHERE `T`.`Entry` = '.$line['Entry'].' AND (`T`.`Take` = '.$line['ID'].' OR `T`.`Take` = '.$line2['ID'].') '
    171171                      $DbResult3 = $System->Database->query($sql);
    172                     if($DbResult3->num_rows > 0) {
    173              $line3 = $DbResult3->fetch_assoc();
     172                    while($line3 = $DbResult3->fetch_assoc()) {
    174173             echo $line3['ID'].' ';
    175174                         $System->Database->query('UPDATE `'.$Group['TablePrefix'].'` SET `VersionEnd` = '.$line2['VersionEnd'].', `VersionStart` = '.$line['VersionStart'].', `Take` = '.$line['ID'].' WHERE ID='.$line3['ID']);
  • trunk/includes/Version.php

    r674 r675  
    66// and system will need database update.
    77
    8 $Revision = 674; // Subversion revision
     8$Revision = 675; // Subversion revision
    99$DatabaseRevision = 666; // Database structure revision
    1010$ReleaseTime = '2013-12-29';
Note: See TracChangeset for help on using the changeset viewer.