Author: Leon.van.der.Ree
Date: 2009-05-12 17:25:32 +0200 (Tue, 12 May 2009)
New Revision: 18180
Modified:
plugins/sfGridPlugin/branches/leon/lib/datasource/sfDataSourceImap.class.php
Log:
fixed bug in imap-datasource merging results in search with OR
Modified:
plugins/sfGridPlugin/branches/leon/lib/datasource/sfDataSourceImap.class.php
===================================================================
---
plugins/sfGridPlugin/branches/leon/lib/datasource/sfDataSourceImap.class.php
2009-05-12 15:21:04 UTC (rev 18179)
+++
plugins/sfGridPlugin/branches/leon/lib/datasource/sfDataSourceImap.class.php
2009-05-12 15:25:32 UTC (rev 18180)
@@ -300,7 +300,7 @@
{
$newResults = imap_sort($this->stream, $sortMapping[$sortColumn],
$reverse, SE_UID, $filterCriterion);
// do a union with previous results
- if ($result != false)
+ if ($newResults != false)
{
$results = array_merge($results, $newResults);
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony SVN" 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/symfony-svn?hl=en
-~----------~----~----~----~------~----~------~--~---