Fix: [ bug #1618 ] PHP Error thrown when saving a barcode