Bläddra i källkod

bug fix (variable inconnu)

Sevajol Bastien 11 år sedan
förälder
incheckning
c236103fdd

+ 0 - 1
src/Muzich/CoreBundle/Tests/Controller/HomeControllerTest.php Visa fil

@@ -188,7 +188,6 @@ class HomeControllerTest extends FunctionalTest
188 188
       'http://www.youtube.com/watch?v=WC8qb_of04E', 
189 189
       array($hardtek->getId(), $tribe->getId())
190 190
     );
191
-    
192 191
     $this->isResponseSuccess();
193 192
         
194 193
     $this->notExist('li:contains("Mon bel element a4er563a1r")');

+ 4 - 0
src/Muzich/HomeBundle/Resources/views/Home/index.html.twig Visa fil

@@ -1,5 +1,9 @@
1 1
 {% extends "MuzichHomeBundle::layout.html.twig" %}
2 2
 
3
+{% if login is not defined %}
4
+  {% set login = false %}
5
+{% endif %}
6
+
3 7
 {% block title %}{{ 'title.home'|trans({}, 'userui') }}{% endblock %}
4 8
 {% block mainbox_classes %}mainbox_margintop mainbox_nopadding{% endblock %}
5 9