Moodle

use of formslib is notes edit/add code is incorrect

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 1.9
  • Fix Version/s: 2.0
  • Component/s: Administration
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE
  • Fixed Branches:
    MOODLE_20_STABLE

Description

the correct way is:

  • create form
  • set defaults
  • check if submitted
  • display if not

different order is NOT supported!

Activity

Hide
Petr Škoda (skodak) added a comment - - edited

found also incorrect use of ->get_submitted_data();

Show
Petr Škoda (skodak) added a comment - - edited found also incorrect use of ->get_submitted_data();
Hide
Petr Škoda (skodak) added a comment -

done

Show
Petr Škoda (skodak) added a comment - done

People

Vote (0)
Watch (0)

Dates

  • Created:
    Updated:
    Resolved: