Disable removal of QR prefix. #710
This commit is contained in:
parent
c1ef75b8f5
commit
a3be1434a0
2 changed files with 6 additions and 6 deletions
|
|
@ -3355,9 +3355,9 @@ class APIController extends Controller implements LoggedController
|
||||||
|
|
||||||
|
|
||||||
// remove QR prefix if it exists
|
// remove QR prefix if it exists
|
||||||
$prefix = substr($clean_serial, 0, 2);
|
// $prefix = substr($clean_serial, 0, 2);
|
||||||
if ($prefix == 'QR')
|
// if ($prefix == 'QR')
|
||||||
$clean_serial = substr($clean_serial, 2);
|
// $clean_serial = substr($clean_serial, 2);
|
||||||
|
|
||||||
return $clean_serial;
|
return $clean_serial;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -102,9 +102,9 @@ class CustomerWarrantyController extends APIController
|
||||||
|
|
||||||
|
|
||||||
// remove QR prefix if it exists
|
// remove QR prefix if it exists
|
||||||
$prefix = substr($clean_serial, 0, 2);
|
//$prefix = substr($clean_serial, 0, 2);
|
||||||
if ($prefix == 'QR')
|
//if ($prefix == 'QR')
|
||||||
$clean_serial = substr($clean_serial, 2);
|
// $clean_serial = substr($clean_serial, 2);
|
||||||
|
|
||||||
return $clean_serial;
|
return $clean_serial;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue