Author: sevein
Date: Mon Feb  6 12:29:08 2012
New Revision: 10810

Log:
Add user ID to sf_cache_key, fixes issue 2231.

Modified:
   trunk/apps/qubit/templates/_header.php
   trunk/apps/qubit/templates/layout.php

Modified: trunk/apps/qubit/templates/_header.php
==============================================================================
--- trunk/apps/qubit/templates/_header.php      Mon Feb  6 11:44:33 2012        
(r10809)
+++ trunk/apps/qubit/templates/_header.php      Mon Feb  6 12:29:08 2012        
(r10810)
@@ -35,4 +35,4 @@
 
 <?php echo get_component('search', 'box') ?>
 
-<?php echo get_component('menu', 'browseMenu', array('sf_cache_key' => 
$sf_user->getCulture())) ?>
+<?php echo get_component('menu', 'browseMenu', array('sf_cache_key' => 
$sf_user->getCulture().$sf_user->getUserID())) ?>

Modified: trunk/apps/qubit/templates/layout.php
==============================================================================
--- trunk/apps/qubit/templates/layout.php       Mon Feb  6 11:44:33 2012        
(r10809)
+++ trunk/apps/qubit/templates/layout.php       Mon Feb  6 12:29:08 2012        
(r10810)
@@ -22,7 +22,7 @@
         <?php if ($sf_user->isAuthenticated()): ?>
           <div id="navigation">
             <div class="section">
-              <?php echo get_component('menu', 'mainMenu', 
array('sf_cache_key' => $sf_user->getCulture())) ?>
+              <?php echo get_component('menu', 'mainMenu', 
array('sf_cache_key' => $sf_user->getCulture().$sf_user->getUserID())) ?>
             </div> <!-- /.section -->
           </div> <!-- /#navigation -->
         <?php endif; ?>

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to