FR 2945715 - Improve Advanced Search

http://sourceforge.net/support/tracker.php?aid=2945715
- Implement fix for backward compatibility suggested by tspc
This commit is contained in:
Carlos Ruiz 2011-03-08 12:24:50 -05:00
parent f81176b7dd
commit a6a69851ba
1 changed files with 3 additions and 0 deletions

View File

@ -624,6 +624,9 @@ public class MQuery implements Serializable
qualified = false; qualified = false;
// //
StringBuffer sb = new StringBuffer(); StringBuffer sb = new StringBuffer();
if (! isActive())
return sb.toString();
sb.append('('); sb.append('(');
for (int i = 0; i < m_list.size(); i++) for (int i = 0; i < m_list.size(); i++)
{ {