#304 Fixed OQL issue (regression when using time intervals)

SVN:trunk[922]
This commit is contained in:
Romain Quetiez
2010-10-25 08:12:17 +00:00
parent 97f36bd7e8
commit 2834c073cd

View File

@@ -738,6 +738,10 @@ class DBObjectSearch
}
return new FunctionExpression($oExpression->GetVerb(), $aArgs);
}
elseif ($oExpression instanceof IntervalOqlExpression)
{
return new IntervalExpression($oExpression->GetValue(), $oExpression->GetUnit());
}
else
{
throw new CoreException('Unknown expression type', array('class'=>get_class($oExpression), 'query'=>$sQuery));