From: root Date: Fri, 14 Jun 2013 20:24:41 +0000 (+0200) Subject: Oprava carovejch kodu X-Git-Url: http://git.harvie.cz/?p=mirrors%2FSokoMan.git;a=commitdiff_plain;h=51d3b8cf0914068fe60538aea0471d1ec623dd1e Oprava carovejch kodu --- diff --git a/lib/Barcode.class.php b/lib/Barcode.class.php index 6b2ed56..f65df4f 100755 --- a/lib/Barcode.class.php +++ b/lib/Barcode.class.php @@ -55,6 +55,7 @@ class Barcode { header('Content-Type: image/png'); header('Cache-Control: max-age=604800, public'); //1week caching } else die(); + error_reporting(0); //TODO: enable errors again die(self::cached_barcode($string,$convert,$enctype)); } }