Ignore:
Timestamp:
2010-06-03T16:54:46+12:00 (14 years ago)
Author:
mdewsnip
Message:

Fix assert() failure that looks like a segmentation fault when users enter "a=" (without any action name).

File:
1 edited

Legend:

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

    r22196 r22231  
    803803
    804804  action *a = actions.getaction (args["a"]);
    805   prepare_page (a, args, text_t2ascii, logout);
     805  if (a != NULL)
     806  {
     807    prepare_page (a, args, text_t2ascii, logout);
     808  }
    806809  disp.expandstring (displayclass::defaultpackage, astring, outstring);
    807810  return outstring;
Note: See TracChangeset for help on using the changeset viewer.