Changeset 3534


Ignore:
Timestamp:
Jun 28, 2007, 2:53:12 PM (14 years ago)
Author:
Martin Svensson
Message:

References #657

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/util/ContextUtil.java

    r3438 r3534  
    7272      if (!plugin.requiresConfiguration())
    7373      {
    74         results.add(new ContextResult(sc, plugin, null, context, currentItem));
    75       }
    76       if (pluginQuery != null && plugin.supportsConfigurations())
     74        ContextResult contextResult = new ContextResult(sc, plugin, null, context, currentItem);
     75        if (contextResult.isInContext())
     76        {
     77          results.add(contextResult);
     78        }
     79      }
     80      if (configQuery != null && plugin.supportsConfigurations())
    7781      {
    7882        configQuery.setParameter("plugin", plugin.getId(), Type.INT);
Note: See TracChangeset for help on using the changeset viewer.