Hi devs,

I’ve noticed the following in getusers.vm:

        #set ($arr = [])
        #set( $discard = $arr.add( null ) ) ## this may be variable...
        #set( $discard = $arr.add( "$value" ) )


The “null” part doesn’t seem correct at all and I don’t understand the comment 
"## this may be variable…”

Any idea what the original author wanted to do?

Thanks
-Vincent


_______________________________________________
devs mailing list
[email protected]
http://lists.xwiki.org/mailman/listinfo/devs

Reply via email to