Changeset 570 for trunk/Modules/Export/Page.php
- Timestamp:
- Aug 21, 2013, 9:58:41 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/Export/Page.php
r569 r570 474 474 if($_POST['Operation'] == 'Save') 475 475 { 476 $this->System->Database->query('UPDATE Export SET OutputType='.$_POST['OutputType'].' WHERE Id='.$_GET['ExportId']); 477 $Output .= ShowMessage('Výběr uložen.'); 476 if(array_key_exists('OutputType', $_POST) and ($_POST['OutputType'] * 1 > 0)) 477 { 478 $this->System->Database->query('UPDATE Export SET OutputType='.$_POST['OutputType'].' WHERE Id='.$_GET['ExportId']); 479 $Output .= ShowMessage('Výběr uložen.'); 480 } else $Output .= ShowMessage('Nevybrán žádný formát', MESSAGE_CRITICAL); 478 481 } 479 482
Note:
See TracChangeset
for help on using the changeset viewer.