--- parser3/src/classes/op.C 2001/04/15 12:32:57 1.5 +++ parser3/src/classes/op.C 2001/04/15 13:12:17 1.6 @@ -5,7 +5,7 @@ Author: Alexander Petrosyan (http://design.ru/paf) - $Id: op.C,v 1.5 2001/04/15 12:32:57 paf Exp $ + $Id: op.C,v 1.6 2001/04/15 13:12:17 paf Exp $ */ #include "pa_config_includes.h" @@ -23,11 +23,10 @@ static void _if(Request& r, const String bool condition=r.process(condition_code, 0/*no name*/, false/*don't intercept string*/).as_bool(); - if(condition) { + if(condition) r.write_pass_lang(r.process(params->get(1))); - } else if(params->size()==3) { + else if(params->size()==3) r.write_pass_lang(r.process(params->get(2))); - } } static void _untaint(Request& r, const String& method_name, MethodParams *params) {