FIXME $key is not defined (strict mode)
FIXME $socid is not defined (strict mode)
Fix: missing fields
Fix: strict mode paradise
Merge remote-tracking branch 'Upstream/develop' into develop-loan