mirror of
https://github.com/opensourcepos/opensourcepos.git
synced 2026-05-24 16:28:40 -04:00
Limit string length of barcode strings (#692)
This commit is contained in:
@@ -199,7 +199,7 @@ class Barcode_lib
|
||||
$result = $barcode_config['barcode_content'] !== "id" && isset($item['item_number']) ? $item['item_number'] : $item['item_id'];
|
||||
}
|
||||
|
||||
return $result;
|
||||
return character_limiter($result, 40);
|
||||
}
|
||||
|
||||
public function listfonts($folder)
|
||||
|
||||
Reference in New Issue
Block a user