Browse Source

fix twig data for my favorites shuffle

Bastien Sevajol 8 years ago
parent
commit
b08e787e16
1 changed files with 1 additions and 0 deletions
  1. 1 0
      src/Muzich/FavoriteBundle/Controller/FavoriteController.php

+ 1 - 0
src/Muzich/FavoriteBundle/Controller/FavoriteController.php View File

@@ -188,6 +188,7 @@ class FavoriteController extends Controller
188 188
       'tags'          => $tags,
189 189
       'tags_id_json'  => json_encode($tags_id),
190 190
       'user'          => $this->getUser(),
191
+      'viewed_user'   => $this->getUser(),
191 192
       'elements'      => $search_object->getElements($this->getDoctrine(), $this->getUserId())
192 193
     ));
193 194
   }