Oprava carovejch kodu
authorroot <root@builds>
Fri, 14 Jun 2013 20:24:41 +0000 (22:24 +0200)
committerThomas Mudrunka <tomas@mudrunka.cz>
Fri, 14 Jun 2013 20:25:23 +0000 (22:25 +0200)
lib/Barcode.class.php

index 6b2ed5613bbf66a3b1adb3c1fb4e98eff132205e..f65df4f0e8fc5948f82e87d8315fc54d4f5276a1 100755 (executable)
@@ -55,6 +55,7 @@ class Barcode {
                        header('Content-Type: image/png');
                        header('Cache-Control: max-age=604800, public'); //1week caching
                }       else die();
                        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));
        }
 }
                die(self::cached_barcode($string,$convert,$enctype));
        }
 }
This page took 0.101909 seconds and 4 git commands to generate.