From 1c8d3283a11c816f4a0b45d35f2000d5833c5173 Mon Sep 17 00:00:00 2001 From: rMalie Date: Mon, 2 Jan 2012 13:47:41 +0000 Subject: [PATCH] // Fix multilang on some modules git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11991 b9a71923-0436-4b27-9f14-aed3839534dd --- modules/editorial/EditorialClass.php | 1 + modules/homeslider/HomeSlide.php | 1 + modules/loyalty/LoyaltyStateModule.php | 1 + 3 files changed, 3 insertions(+) diff --git a/modules/editorial/EditorialClass.php b/modules/editorial/EditorialClass.php index f0ee66c50..6a30f3fb0 100755 --- a/modules/editorial/EditorialClass.php +++ b/modules/editorial/EditorialClass.php @@ -51,6 +51,7 @@ class EditorialClass extends ObjectModel public static $definition = array( 'table' => 'editorial', 'primary' => 'id_editorial', + 'multilang' => true, 'fields' => array( 'body_home_logo_link' => array('type' => self::TYPE_STRING, 'validate' => 'isUrl'), diff --git a/modules/homeslider/HomeSlide.php b/modules/homeslider/HomeSlide.php index ef6b7a347..6f0b98716 100644 --- a/modules/homeslider/HomeSlide.php +++ b/modules/homeslider/HomeSlide.php @@ -41,6 +41,7 @@ class HomeSlide extends ObjectModel public static $definition = array( 'table' => 'homeslider_slides', 'primary' => 'id_homeslider_slides', + 'multilang' => true, 'fields' => array( 'active' => array('type' => self::TYPE_BOOL, 'validate' => 'isBool', 'required' => true), 'position' => array('type' => self::TYPE_INT, 'validate' => 'isunsignedInt', 'required' => true), diff --git a/modules/loyalty/LoyaltyStateModule.php b/modules/loyalty/LoyaltyStateModule.php index cc413ad26..6cca3652d 100644 --- a/modules/loyalty/LoyaltyStateModule.php +++ b/modules/loyalty/LoyaltyStateModule.php @@ -39,6 +39,7 @@ class LoyaltyStateModule extends ObjectModel public static $definition = array( 'table' => 'loyalty_state', 'primary' => 'id_loyalty_state', + 'multilang' => true, 'fields' => array( 'id_order_state' => array('type' => self::TYPE_INT, 'validate' => 'isInt'),