Author: sevein
Date: Mon May 14 10:34:20 2012
New Revision: 11669

Log:
Create an empty array before adding elements

Modified:
   branches/2.0/apps/qubit/modules/repository/actions/browseAction.class.php

Modified: 
branches/2.0/apps/qubit/modules/repository/actions/browseAction.class.php
==============================================================================
--- branches/2.0/apps/qubit/modules/repository/actions/browseAction.class.php   
Mon May 14 10:33:10 2012        (r11668)
+++ branches/2.0/apps/qubit/modules/repository/actions/browseAction.class.php   
Mon May 14 10:34:20 2012        (r11669)
@@ -96,6 +96,8 @@
 
     if ($this->pager->hasResults())
     {
+      $facets = array();
+
       foreach ($this->pager->getFacets() as $name => $facet)
       {
         if (isset($facet['terms']))

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