Browse Source

[search] The app can be blacklisted without crashing

Romain Rigaux 11 years ago
parent
commit
b4fb6acdeb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      desktop/core/src/desktop/templates/common_header.mako

+ 1 - 1
desktop/core/src/desktop/templates/common_header.mako

@@ -390,7 +390,7 @@ from django.utils.translation import ugettext as _
        </li>
        </li>
        % endif
        % endif
        % if 'search' in apps:
        % if 'search' in apps:
-         <%! from search.search_controller import SearchController %>
+         <% from search.search_controller import SearchController %>
          <% collections = SearchController(user).get_search_collections() %>
          <% collections = SearchController(user).get_search_collections() %>
          % if not collections:
          % if not collections:
            <li>
            <li>