Merge pull request #901 from kpodemski/patch-11
[*] MO: blocksharefb optimization
This commit is contained in:
@@ -19,7 +19,8 @@
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
* @copyright 2007-2013 PrestaShop SA
|
||||
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
@@ -63,7 +64,7 @@ class blocksharefb extends Module
|
||||
|
||||
if (isset($id_product) && $id_product != '')
|
||||
{
|
||||
{
|
||||
$product_infos = $this->context->controller->getProduct();
|
||||
$smarty->assign(array(
|
||||
'product_link' => urlencode($link->getProductLink($product_infos)),
|
||||
'product_title' => urlencode($product_infos->name),
|
||||
|
||||
Reference in New Issue
Block a user