#688 When the autocomplete is activated, and the allowed values depend on another value, then it is possible to set a wrong value

SVN:trunk[2646]
This commit is contained in:
Romain Quetiez
2013-03-20 14:47:52 +00:00
parent 3d2866a2a0
commit d7fa2ca5b9
3 changed files with 14 additions and 3 deletions

View File

@@ -618,7 +618,7 @@ class VariableExpression extends UnaryExpression
}
else
{
throw new MissingQueryArgument('Missing query argument', array('expecting'=>$this->m_sName, 'available'=>$aArgs));
throw new MissingQueryArgument('Missing query argument', array('expecting'=>$this->m_sName, 'available'=>array_keys($aArgs)));
}
}