// 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
This commit is contained in:
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user