Skip to content

Commit

Permalink
fixes the Many-ended Associations Data Binding bug,refs #49,#58
Browse files Browse the repository at this point in the history
  • Loading branch information
xiaochong committed May 8, 2012
1 parent 2077bbc commit 68aea68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ZkuiGrailsPlugin.groovy
Expand Up @@ -199,7 +199,7 @@ The different is it more likely to use the Grails' infrastructures such as gsp,
}
return s
}.inject(new TypeConvertingMap()) {s, e ->
if (e instanceof Collection) {
if (e.value instanceof Collection) {
s.put(e.key, e.value as String[])
} else {
s.put(e.key, e.value)
Expand Down

0 comments on commit 68aea68

Please sign in to comment.