mirror of
https://github.com/Karaka-Management/phpOMS.git
synced 2026-02-12 06:48:41 +00:00
Fix validation bug
This commit is contained in:
parent
5dd679698b
commit
5b3178e049
|
|
@ -273,7 +273,7 @@ abstract class C128Abstract
|
||||||
*
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
*/
|
*/
|
||||||
public function isValidString(string $barcode) : bool
|
public static function isValidString(string $barcode) : bool
|
||||||
{
|
{
|
||||||
$length = \strlen($barcode);
|
$length = \strlen($barcode);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user