Author: sevein
Date: Sat Apr 28 21:51:23 2012
New Revision: 11542

Log:
Use current culture

Modified:
   branches/2.0/apps/qubit/modules/search/actions/autocompleteAction.class.php

Modified: 
branches/2.0/apps/qubit/modules/search/actions/autocompleteAction.class.php
==============================================================================
--- branches/2.0/apps/qubit/modules/search/actions/autocompleteAction.class.php 
Sat Apr 28 21:50:14 2012        (r11541)
+++ branches/2.0/apps/qubit/modules/search/actions/autocompleteAction.class.php 
Sat Apr 28 21:51:23 2012        (r11542)
@@ -73,7 +73,7 @@
           t.taxonomy_id = ?';
 
       $this->levelsOfDescription = array();
-      foreach (QubitPdo::fetchAll($sql, array('en', 
QubitTaxonomy::LEVEL_OF_DESCRIPTION_ID)) as $item)
+      foreach (QubitPdo::fetchAll($sql, 
array($this->context->user->getCulture(), 
QubitTaxonomy::LEVEL_OF_DESCRIPTION_ID)) as $item)
       {
         $this->levelsOfDescription[$item->id] = $item->name;
       }

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