Show
Ignore:
Timestamp:
09.12.2010 00:13:08 (9 years ago)
Author:
max
Message:

qt argument can be in the range 0..2 these days (support for sql based querying)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • main/trunk/greenstone2/runtime-src/src/recpt/queryaction.cpp

    r23380 r23420  
    411411  // check qt argument 
    412412  int arg_qt = args.getintarg("qt"); 
    413   if (arg_qt !=0 && arg_qt !=1) { 
     413  if (arg_qt<0 || arg_qt>2) { 
    414414    logout << "Warning: \"qt\" argument out of range (" << arg_qt << ")\n"; 
    415415    cgiarginfo *qtinfo = argsinfo.getarginfo ("qt");