From: Thomas Mudrunka Date: Fri, 14 Jun 2013 23:50:15 +0000 (+0200) Subject: Hezci tlacitka X-Git-Url: https://git.harvie.cz/?a=commitdiff_plain;h=ecdaa8cd1cac91037dcb953b6826a86f1bc585a8;p=mirrors%2FSokoMan.git Hezci tlacitka --- diff --git a/assistants/print-labels.inc.php b/assistants/print-labels.inc.php index 20b70e5..b1978ba 100644 --- a/assistants/print-labels.inc.php +++ b/assistants/print-labels.inc.php @@ -13,7 +13,7 @@ $barcodes = ''; for($i=0;$i<$count;$i++) $barcodes.=' -b '.escapeshellarg($prefix.$i); - switch($_POST['print']) { + switch(strtolower($_POST['print'])) { case 'pdf': $convert='| ps2pdf -dCompatibility=1.2 - -'; header('Content-Type: application/pdf'); @@ -38,6 +38,6 @@ Okraje - - + +