Reply to thread

What if the DataWriter is called in another context?


For instance, let's say we'd like to add a boolean field to xf_forum and have it editable by the admin in the Forum Options.


Now, if the field is set to false, it wouldn't be set in $_POST, and every time the forum DataWriter is saved, the custom field would be set to false if $_POST['custom_field'] is not set.


This is a problem because the forum DataWriter is not used exclusively when editing forums, but in some other cases (e.g. when rebuilding forums).


@[USER=3]Mike[/USER] can you please address this?


Back
Top Bottom