Project

General

Profile

« Previous | Next » 

Revision 673

Added by bojilova over 23 years ago

fixed typo

View differences:

src/edu/ucsb/nceas/metacat/DBQuery.java
310 310
          while(tableHasRows) 
311 311
          {
312 312
            docid = rs.getString(1);
313
            if ( !hasPermission(dbconn, user, group, docid) ) {continue;}
313
            if ( !hasPermission(dbconn, user, group, docid) ) {
314
              // Advance to the next record in the cursor
315
              tableHasRows = rs.next();
316
              continue;
317
            }
314 318
            fieldname = rs.getString(2);
315 319
            fielddata = rs.getString(3);
316 320
            
src/edu/ucsb/nceas/metacat/MetaCatServlet.java
263 263
      if (sess.isNew()) { 
264 264
        // session expired or has not been stored b/w user requests
265 265
        username = "public";
266
        sess.setAttribute("username", username);
266 267
      } else {
267 268
        username = (String)sess.getAttribute("username");
268 269
        groupname = (String)sess.getAttribute("groupname");

Also available in: Unified diff