Browse Source

bug fix: getTagsArray (controller) ne renseigné pas la variable statique.

bastien 13 years ago
parent
commit
48ff1f4616
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Muzich/CoreBundle/lib/Controller.php

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

@@ -142,7 +142,7 @@ class Controller extends BaseController
142 142
   {
143 143
     if (!count(self::$tags) || $force_refresh)
144 144
     {
145
-      return $this->getDoctrine()->getRepository('MuzichCoreBundle:Tag')->getTagsArray();
145
+      return self::$tags = $this->getDoctrine()->getRepository('MuzichCoreBundle:Tag')->getTagsArray();
146 146
     }
147 147
     
148 148
     return self::$tags;