From ad2799e0ab415116909ab28d97ab960ceb6189f5 Mon Sep 17 00:00:00 2001 From: Victor Kalmuk Date: Sun, 22 Mar 2015 17:02:51 +0200 Subject: [PATCH] Fix bug 'Variable "pathPrefix" does not exist in FMElfinderBundle:Elfinder:elfinder_type.html.twig at line 19' when use Form Type --- Controller/ElFinderController.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Controller/ElFinderController.php b/Controller/ElFinderController.php index 92f1eba..18b5af3 100644 --- a/Controller/ElFinderController.php +++ b/Controller/ElFinderController.php @@ -124,7 +124,8 @@ private function selectEditor($parameters, $instance, $homeFolder, $assetsPath, 'id' => $formTypeId, 'relative_path' => $relativePath, 'prefix' => $assetsPath, - 'theme' => $theme + 'theme' => $theme, + 'pathPrefix' => $pathPrefix ); return $result; default: