Browse Source

bug fix: variable ajouté dans Home:index oublié dans addelement:echec

bastien 13 years ago
parent
commit
690a05469e
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Muzich/CoreBundle/Controller/CoreController.php

+ 1 - 0
src/Muzich/CoreBundle/Controller/CoreController.php View File

@@ -230,6 +230,7 @@ class CoreController extends Controller
230 230
             'add_form_name'    => 'add',
231 231
             'search_form'      => $search_form->createView(),
232 232
             'search_form_name' => 'search',
233
+            'network_public'   => $search_object->isNetworkPublic(),
233 234
             'elements'         => $search_object->getElements($this->getDoctrine(), $this->getUserId()),
234 235
             'more_count'       => $this->container->getParameter('search_default_count')*2
235 236
           ));