From 78f47ab3cb91915ea7f80067dc484bfe9cdbfb61 Mon Sep 17 00:00:00 2001 From: bMancone Date: Wed, 14 Dec 2011 16:57:40 +0000 Subject: [PATCH] // Updated type in definition for product_supplier_reference (Thanks R.) --- classes/ProductSupplier.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/ProductSupplier.php b/classes/ProductSupplier.php index f5e239ccb..646a68d01 100644 --- a/classes/ProductSupplier.php +++ b/classes/ProductSupplier.php @@ -66,7 +66,7 @@ class ProductSupplierCore extends ObjectModel 'table' => 'product_supplier', 'primary' => 'id_product_supplier', 'fields' => array( - 'product_supplier_reference' => array('type' => self::TYPE_INT, 'validate' => 'isReference', 'size' => 32), + 'product_supplier_reference' => array('type' => self::TYPE_STRING, 'validate' => 'isReference', 'size' => 32), 'id_product' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 'id_product_attribute' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true), 'id_supplier' => array('type' => self::TYPE_INT, 'validate' => 'isUnsignedId', 'required' => true),