Conflicts:
	core/lib/Thelia/Core/Template/Smarty/Assets/SmartyAssetsManager.php
This commit is contained in:
gmorel
2014-03-04 13:10:24 +01:00
2 changed files with 2 additions and 1 deletions

View File

@@ -23,6 +23,7 @@
namespace Thelia\Core\Template\Smarty\Assets;
use Thelia\Log\Tlog;
use Thelia\Tools\URL;
use Thelia\Core\Template\Assets\AssetManagerInterface;

View File

@@ -187,7 +187,7 @@ class SmartyParser extends Smarty implements ParserInterface
public function getTemplateDefinition($webAssetTemplate = false)
{
$ret = $this->templateDefinition;
if ($webAssetTemplate) {
if (false !== $webAssetTemplate) {
$customPath = str_replace($ret->getName(), $webAssetTemplate, $ret->getPath());
$ret->setName($webAssetTemplate);
$ret->setPath($customPath);