Updated lines 109 (variable was named LSP_3; changed to LSP3_0 - this is the reason many empty LSP3_0 values exist in the members table) and 110 (test $i<=$cnt was causing loop to occur an extra time; changed to $i<$cnt) to prevent undefined variable errors.
Lines 5, 139 and 146 only differ because my editor is configured to remove trailing spaces on save.
Updated lines 109 (variable was named LSP_3; changed to LSP3_0 - this is the reason many empty LSP3_0 values exist in the members table) and 110 (test $i<=$cnt was causing loop to occur an extra time; changed to $i<$cnt) to prevent undefined variable errors.
Lines 5, 139 and 146 only differ because my editor is configured to remove trailing spaces on save.