// fix bug tag image in AdminProductsController

git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@11206 b9a71923-0436-4b27-9f14-aed3839534dd
This commit is contained in:
lLefevre
2011-12-14 14:37:28 +00:00
parent 12386a5b57
commit 91c95d7146
2 changed files with 12 additions and 11 deletions
+1 -1
View File
@@ -440,7 +440,7 @@ class ProductControllerCore extends FrontController
public function transformDescriptionWithImg($desc)
{
$reg = '/{img-([0-9]+)-(left|right)-([a-z]+)}/';
$reg = '/\[img-([0-9]+)-(left|right)-([a-z]+)\]/';
while (preg_match($reg, $desc, $matches))
{
$link_lmg = $this->context->link->getImageLink($this->product->link_rewrite, $this->product->id.'-'.$matches[1], $matches[3]);