Browse Source

#830 ... completes the change 2980 (that accompanied changes 2921 and 2948, for an optimization on bulk operations)

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@2987 a333f486-631f-4898-b8df-5754b55c2be0
romainq 11 years ago
parent
commit
982ba45166
1 changed files with 5 additions and 0 deletions
  1. 5 0
      core/expression.class.inc.php

+ 5 - 0
core/expression.class.inc.php

@@ -403,6 +403,11 @@ class ScalarExpression extends UnaryExpression
 		}
 		return $sRet;
 	}
+
+	public function GetAsScalar($aArgs)
+	{
+		return clone $this;
+	}
 }
 
 class TrueExpression extends ScalarExpression