From 4e85800d209910e5f0030af25e35385adfdd2a34 Mon Sep 17 00:00:00 2001 From: tDidierjean Date: Tue, 13 Sep 2011 14:21:59 +0000 Subject: [PATCH] // fix validation of available_date field in Product class git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8540 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Product.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Product.php b/classes/Product.php index a8a3f84d4..585eb0b7b 100644 --- a/classes/Product.php +++ b/classes/Product.php @@ -249,7 +249,7 @@ class ProductCore extends ObjectModel 'text_fields' => 'isUnsignedInt', 'active' => 'isBool', 'available_for_order' => 'isBool', - 'available_date' => 'isDate', + 'available_date' => 'isDateFormat', 'condition' => 'isGenericName', 'show_price' => 'isBool', 'ean13' => 'isEan13',