--- parser3/src/classes/Attic/root.C 2001/03/08 13:42:30 1.2 +++ parser3/src/classes/Attic/root.C 2001/03/08 15:15:45 1.4 @@ -1,5 +1,5 @@ /* -$Id: root.C,v 1.2 2001/03/08 13:42:30 paf Exp $ +$Id: root.C,v 1.4 2001/03/08 15:15:45 paf Exp $ */ #include "pa_request.h" @@ -9,9 +9,7 @@ static void _if(Request& r, Array& param r.autocalc( *static_cast(params.get(0)), false/*don't make it string*/).get_bool(); - Value& value=r.autocalc( - *static_cast(params.get(condition?1:2)), - true/*make it string*/); + Value& value=r.autocalc(*static_cast(params.get(condition?1:2))); r.write(value); }