diff --git a/htdocs/product/card.php b/htdocs/product/card.php
index 5f9d42cdd449759f4edbdbc14a50fe7b5aaa882f..92d588d19fe70895ef4560f757be60a135e56b48 100644
--- a/htdocs/product/card.php
+++ b/htdocs/product/card.php
@@ -124,7 +124,7 @@ if (empty($reshook))
     // Barcode value
     if ($action ==	'setbarcode' && $createbarcode)
     {
-    	$result=$object->check_barcode(GETPOST('barcode'),GETPOT('barcode_type_code'));
+    	$result=$object->check_barcode(GETPOST('barcode'),GETPOST('barcode_type_code'));
 
 		if ($result >= 0)
 		{