Explorar el Código

Correctif appel findAllParents de productCategoryRepository

feature/export_comptable
Guillaume hace 4 años
padre
commit
0cf3409e26
Se han modificado 2 ficheros con 1 adiciones y 14 borrados
  1. +0
    -13
      ShopBundle/Services/CustomCKFinderAuth.phpRENAME
  2. +1
    -1
      ShopBundle/Twig/FrontendTwigExtension.php

+ 0
- 13
ShopBundle/Services/CustomCKFinderAuth.phpRENAME Ver fichero

@@ -1,13 +0,0 @@
<?php

namespace Lc\ShopBundle\Services;

use CKSource\Bundle\CKFinderBundle\Authentication\Authentication as AuthenticationBase;

class CustomCKFinderAuth extends AuthenticationBase
{
public function authenticate()
{
return true;
}
}

+ 1
- 1
ShopBundle/Twig/FrontendTwigExtension.php Ver fichero

@@ -96,7 +96,7 @@ class FrontendTwigExtension extends AbstractExtension

public function getProductCategories()
{
$categories = $this->productCategoryRepository->findAllParents($this->merchantUtils->getMerchantCurrent());
$categories = $this->productCategoryRepository->findAllParents(false);
return $categories;
}


Cargando…
Cancelar
Guardar