--- metal/metal_class.php 2000/05/01 06:48:24 1.27 +++ metal/metal_class.php 2000/05/02 06:19:53 1.28 @@ -6,7 +6,7 @@ if(!defined("METAL_CLASS_INCLUDED")) /* * metal_class.php * - * @(#) $Header: /opt2/mlemos/cvs/metal/metal/metal_class.php,v 1.27 2000/05/01 06:48:24 mlemos Exp $ + * @(#) $Header: /opt2/mlemos/cvs/metal/metal/metal_class.php,v 1.28 2000/05/02 06:19:53 mlemos Exp $ * */ @@ -1003,7 +1003,7 @@ class metal_class_class extends metal_ba $evaluate_context->file=$argument_context["file"]; $evaluate_context->path=$argument_context["path"]; $reference=IsSet($argument_context["reference"]); - if(!$compiler->GetValidExpression(&$evaluate_context,$argument_context["type"],$reference ? "BOTH" : "NOTLEFT","it was not specified a valid class function $function argument ".($reference ? "reference" : "value")." expression",0) + if(!$compiler->GetValidExpression(&$evaluate_context,$argument_context["type"],$reference ? "BOTH" : "NOTLEFT","it was not specified a valid class function $function argument ".$argument_context["type"]." ".($reference ? "reference" : "value")." expression",0) || !$compiler->GetExpressionValue(&$context,&$evaluate_context->result,&$argument_value,&$expression_type)) return(0); if($argument>0)