From 13e4f0d9e566c7da2a3e36870f40104d2be2665c Mon Sep 17 00:00:00 2001 From: mMarinetti Date: Tue, 15 Nov 2011 16:31:49 +0000 Subject: [PATCH] // Scene constructor bugfix, removed wrong cast git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@10141 b9a71923-0436-4b27-9f14-aed3839534dd --- classes/Scene.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/Scene.php b/classes/Scene.php index be95b672c..b89069aea 100644 --- a/classes/Scene.php +++ b/classes/Scene.php @@ -55,7 +55,7 @@ class SceneCore extends ObjectModel public function __construct($id = NULL, $id_lang = NULL, $liteResult = true, $hideScenePosition = false) { - parent::__construct((int)($id), (int)($id_lang)); + parent::__construct($id, $id_lang); if (!$liteResult) $this->products = $this->getProducts(true, (int)($id_lang), false);