From 4e8fa347f787f6033add452a0472924938f73909 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.) git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11226 b9a71923-0436-4b27-9f14-aed3839534dd --- 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),