diff --git a/lib/browse/DocumentCollection.inc.php b/lib/browse/DocumentCollection.inc.php index 2065a6e..15ee6ec 100644 --- a/lib/browse/DocumentCollection.inc.php +++ b/lib/browse/DocumentCollection.inc.php @@ -97,8 +97,6 @@ class DocumentCollection { // we get back strings of numbers. $this->folderCount = $this->_queryObj->getFolderCount(); - - $this->folderCount = $this->folderCount[0]; // sigh. $this->documentCount = $this->_queryObj->getDocumentCount(); $this->documentCount = $this->documentCount[0]; $this->itemCount = $this->documentCount + $this->folderCount; @@ -136,8 +134,7 @@ class DocumentCollection { } } - - + $this->activeset = array( "folders" => $folderSet, "documents" => $documentSet, @@ -212,4 +209,4 @@ class DocumentCollection { } } -?> \ No newline at end of file +?>