Author: sevein
Date: Thu Jul 5 13:41:46 2012
New Revision: 11856
Log:
Rememove unnecessary call to implode
Modified:
trunk/lib/QubitSearch.class.php
Modified: trunk/lib/QubitSearch.class.php
==============================================================================
--- trunk/lib/QubitSearch.class.php Thu Jul 5 00:03:11 2012 (r11855)
+++ trunk/lib/QubitSearch.class.php Thu Jul 5 13:41:46 2012 (r11856)
@@ -432,8 +432,7 @@
if (isset($accession->date))
{
$date = new DateTime($accession->date);
-
- $doc->addField(Zend_Search_Lucene_Field::Unstored('date', implode(' ',
$date->format('Ymd'))));
+ $doc->addField(Zend_Search_Lucene_Field::Unstored('date',
$date->format('Ymd')));
}
$doc->addField(Zend_Search_Lucene_Field::UnStored('appraisal',
$accessionI18n->appraisal));
--
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.