Formula engine: Allow two-argument if() - returns null if false
This commit is contained in:
parent
2e412df9b9
commit
69024df4f5
1 changed files with 1 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Add table
Reference in a new issue