Commit 5deb68de authored by neo's avatar neo

[Bugfix] period args get wrong in bb formula

parent 0a70c86f
......@@ -20,7 +20,7 @@ public class BBParasBo {
reportCode = resolverString(args, ec, 0);
columnIndex = resolverInteger(args, ec, 1);
rowIndex = resolverInteger(args, ec, 2);
period = args.length == 4 ? resolverInteger(args, ec, 3) : 0;
period = args.length >= 4 ? resolverInteger(args, ec, 3) : 0;
year = args.length == 5 ? resolverInteger(args, ec, 4) : 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment