Fixed condition tag bug.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8393 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
mosmartin 2011-05-23 09:28:18 +00:00
parent 52c3d503bc
commit c40ccf777f
3 changed files with 12 additions and 9 deletions

View file

@ -117,7 +117,7 @@ class QueryParser {
$prebuff = '';
foreach($arguments as $argument){
if($argument->getArgumentName()){
if(isset($argument) && $argument->getArgumentName()){
$prebuff .= $argument->toString();
$prebuff .= sprintf("$%s_argument->escapeValue('%s');\n"
, $argument->getArgumentName()