Meta Stack Exchange is where users like you discuss bugs, features, and support issues that affect the software powering all 158 Stack Exchange communities.

What is meta?
Here's how it works:
  1. Any Stack Exchange user can ask a question
  2. The community provides support, votes on ideas, and reports bugs
  3. Your voice helps shape the way Stack Exchange operates

When a question is solved, should the OP edit the post to include the working solution provided by one of the answers?

Here's an example:

Codeaddict gave me the correct answer for my question. I accepted his answer and I also upvoted a helpful comment.

Should I also update my question's code to include his correction?

share|improve this question

Nope. You should just do what you did and accept the answer that helped you. Changing the code will screw up the context of the question.

share|improve this answer

No, don't change your original question but some people add an "Edit" or "Update" section at the end of their answer. It's not strictly necessary but you can add the fixed code to the end of your question (clearly marked as an addendum/solution).

share|improve this answer
did you mean "question" instead of "answer" in the first sentence? – Lance Roberts Jan 2 '14 at 18:17

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .