Skip to content
  • Adam Olley's avatar
    MDL-58772 mod_feedback: Dont overwrite anonymous entries · 0fb13359
    Adam Olley authored
    The feedback module lets you alternate between responses being anonymised and
    not anonymised. When the module is in anonymous mode, its possible for a single
    user to make multiple responses.
    
    However when the activity is switched to non-anon mode, if a user leaves a
    follow up feedback, one of their previously anonymous responses is used, so
    their new response stays anonymous and their old anon response is lost.
    
    This change lets them leave a new non-anonymised feedback entry and retains all
    previous anonymous responses instead of incorrectly reusing one of their anon
    ones at random.
    0fb13359