Update custom_fields.php
https://www.opengamepanel.org/forum/viewthread.php?thread_id=5931
The conditional needs to be `true` in order to update the custom field. `empty()` isn't appropriate due to `0` being considered empty, nor is `isset` - `$value` will always be set.
Checking the length of $value (after trimming it - removing whitespace) has the same effect. If strlen returns true, insert whatever the user gave - without the trimming.