Changeset 526 for trunk/export/index.php


Ignore:
Timestamp:
Feb 20, 2013, 11:45:54 PM (12 years ago)
Author:
chronos
Message:
  • Opraveno: Kontrola verze klienta při exportu.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/export/index.php

    r525 r526  
    580580  $Export->Id = $_GET['ExportId'];
    581581  $Export->Init();
    582   if($Export->ClientVersion == '') $Output = ShowMessage('Nebyla vybrána verze klienta', MESSAGE_CRITICAL);
    583   else {
    584         $Export->LoadFilters();
    585  
    586   if($Export->ClientVersion['BuildNumber'] == '') $Output = ShowMessage('Nebyla vybrána verze klienta', MESSAGE_CRITICAL);
     582        $Export->LoadFilters();
     583 
     584  if(($Export->Export['ClientVersion'] == '') or ($Export->ClientVersion['BuildNumber'] == ''))
     585        $Output = ShowMessage('Nebyla vybrána verze klienta', MESSAGE_CRITICAL);
    587586  else {
    588587        $GroupListQuery = 'SELECT `Group`.* FROM `Group` '.
     
    640639  $Output .= '<tr><td><strong>Celkem</strong></td><td><strong>'.$Translated.'</strong></td><td><strong>'.$Total.'</strong></td><td><strong>'.ProgressBar(150, round($Percent, 2)).'</strong></td></tr>';
    641640  $Output .= '</table>';
    642   }
    643641  }
    644642  return($Output);
Note: See TracChangeset for help on using the changeset viewer.