Project

General

Profile

« Previous | Next » 

Revision 612

Added by bojilova about 24 years ago

fixed typo

View differences:

src/edu/ucsb/nceas/metacat/DBQuery.java
169 169
        boolean tableHasRows = rs.next();
170 170
        while (tableHasRows) {
171 171
          docid = rs.getString(1);
172
          if ( !hasPermission(conn, user, group, docid) ) {continue;}
172
          if ( !hasPermission(conn, user, group, docid) ) {
173
            // Advance to the next record in the cursor
174
            tableHasRows = rs.next();
175
            continue;
176
          }
173 177
          docname = rs.getString(2);
174 178
          doctype = rs.getString(3);
175 179
          doctitle = rs.getString(4);

Also available in: Unified diff