Formula engine: Allow two-argument if() - returns null if false

This commit is contained in:
Celtic Minstrel 2016-03-17 00:24:14 -04:00
parent 2e412df9b9
commit 69024df4f5

View file

@ -113,7 +113,7 @@ private:
class if_function : public function_expression {
public:
explicit if_function(const args_list& args)
: function_expression("if", args, 3, -1)
: function_expression("if", args, 2, -1)
{}
private: