From 51d3b8cf0914068fe60538aea0471d1ec623dd1e Mon Sep 17 00:00:00 2001 From: root Date: Fri, 14 Jun 2013 22:24:41 +0200 Subject: [PATCH] Oprava carovejch kodu --- lib/Barcode.class.php | 1 + 1 file changed, 1 insertion(+) 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)); } } -- 2.30.2