--- modules/node/views_handler_filter_node_access.inc	2009-06-02 13:09:33.000000000 -0700
+++ modules/node/views_handler_filter_node_access_patched.inc	2009-07-15 14:58:39.000000000 -0700
@@ -17,7 +17,7 @@ class views_handler_filter_node_access e
     if (!user_access('administer nodes')) {
       $table = $this->ensure_my_table();
       $grants = array();
-      foreach (node_access_grants($op, $account) as $realm => $gids) {
+      foreach (node_access_grants('view') as $realm => $gids) {
         foreach ($gids as $gid) {
           $grants[] = "($table.gid = $gid AND $table.realm = '$realm')";
         }
