Author: david
Date: Mon Feb 27 12:02:32 2012
New Revision: 10990
Log:
Fix assignment for Zend_Search_Lucene_Field. Don't need extra return if no
thumb is found
Modified:
trunk/lib/QubitSearchInformationObject.class.php
Modified: trunk/lib/QubitSearchInformationObject.class.php
==============================================================================
--- trunk/lib/QubitSearchInformationObject.class.php Mon Feb 27 11:58:45
2012 (r10989)
+++ trunk/lib/QubitSearchInformationObject.class.php Mon Feb 27 12:02:32
2012 (r10990)
@@ -232,11 +232,7 @@
if (null !== $thumbnail = QubitDigitalObject::getOne($criteria))
{
- $field = new
Zend_Search_Lucene_Field::UnIndexed('do_thumbnail_FullPath',
$thumbnail->getFullPath());
- }
- else
- {
- return;
+ $field =
Zend_Search_Lucene_Field::UnIndexed('do_thumbnail_FullPath',
$thumbnail->getFullPath());
}
}
--
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.