Passed the val and param args into partition_params() and changed all references to value to val.
Authored by: bugman 2007-12-09
Parent: [r4164]
Child: [r4166]