Fixes #1385 functions_modcp - var not an array
Revert "Fixes #1385 functions_modcp - var not an array"

This reverts commit 38d0a22b0f09e1cd36e2a66b3f768a2447fd4451.
Fixes #1369 Empty edit reason field added to post by JavaScript.
Merge pull request #1388 from Sama34/fix-1369

Fixes #1369 Empty edit reason field added to post by JavaScript.