--- parser3/src/classes/string.C 2002/06/25 14:28:57 1.112 +++ parser3/src/classes/string.C 2002/08/06 12:48:14 1.115 @@ -3,10 +3,10 @@ Copyright (c) 2001, 2002 ArtLebedev Group (http://www.artlebedev.com) Author: Alexandr Petrosian (http://paf.design.ru) - - $Id: string.C,v 1.112 2002/06/25 14:28:57 paf Exp $ */ +static const char* IDENT_STRING_C="$Date: 2002/08/06 12:48:14 $"; + #include "classes.h" #include "pa_request.h" #include "pa_vdouble.h" @@ -327,7 +327,7 @@ const String* sql_result_string(Request& default_code=0; if(params->size()>1) { Value& voptions=params->as_no_junction(1, "options must be hash, not code"); - if(voptions.is_defined()) + if(!voptions.is_string()) if(options=voptions.get_hash(&method_name)) { if(Value *vlimit=(Value *)options->get(*sql_limit_name)) limit=(ulong)r.process_to_value(*vlimit).as_double();