瀏覽代碼

fix twig data for my favorites shuffle

Bastien Sevajol 9 年之前
父節點
當前提交
b08e787e16
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/Muzich/FavoriteBundle/Controller/FavoriteController.php

+ 1 - 0
src/Muzich/FavoriteBundle/Controller/FavoriteController.php 查看文件

@@ -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
   }