Quantcast
Channel: Issues for Drupal core
Viewing all articles
Browse latest Browse all 313863

Undefined $condition variable in views_handler_filter_node_uid_revision->query()

$
0
0

I'm having an issue with the "Content: User has a revision (exposed)" filter using a standard node view.

The error returned is:

Notice: Undefined variable: condition in views_handler_filter_node_uid_revision->query() (line 21 of /Applications/MAMP/htdocs/D7test/sites/all/modules/views/modules/node/views_handler_filter_node_uid_revision.inc).

I tried poking through the referenced file, but I'm not familiar with views enough to debug what's going wrong with the $condition variable.

It seems like this might be related to http://drupal.org/node/989318, but that thread is very old and seems to be only the source of the file causing the issue.

Any help you could give would be greatly appreciated. At the moment, the exposed filter will always filter to "User has a revision: is one of" regardless of what the handler is set to. For instance, if the handler is set to "User has a revision: is not one of" it still returns content where the user does have a revision.


Viewing all articles
Browse latest Browse all 313863

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>