summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorJan-Hendrik Hühne <[email protected]>2012-05-24 10:31:43 +0200
committerJan-Hendrik Hühne <[email protected]>2012-05-24 10:31:43 +0200
commit36a3cbf3970bb30bacec8b3fef435e52fcc4b66e (patch)
tree2aefd4f5309c7244beffada7aa323195aec3715e /lib
parentb2c5ed169cbce41ed9e304ddcc13e841f465adb0 (diff)
downloadcaxlsx-36a3cbf3970bb30bacec8b3fef435e52fcc4b66e.tar.gz
caxlsx-36a3cbf3970bb30bacec8b3fef435e52fcc4b66e.zip
Bugfix
Diffstat (limited to 'lib')
-rw-r--r--lib/axlsx/workbook/worksheet/data_validation.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/axlsx/workbook/worksheet/data_validation.rb b/lib/axlsx/workbook/worksheet/data_validation.rb
index c2c1cb0e..2591c669 100644
--- a/lib/axlsx/workbook/worksheet/data_validation.rb
+++ b/lib/axlsx/workbook/worksheet/data_validation.rb
@@ -233,7 +233,7 @@ module Axlsx
elsif @type == :list
attributes << [:showDropDown, :formula1]
elsif @type == :custom
- attributes << :formula1
+ attributes << [:formula1]
else
attributes = []
end