Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-2140

glossary - categories not deleted with glossary

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: Glossary
    • Labels:
      None
    • Environment:
      All
    • Affected Branches:
      MOODLE_14_STABLE

      Description

      Categories not deleted with glossary - see line 140 mod/glossary/lib.php (1.89.2.11)

      foreach ( $categories as $hook ) {

      should be:

      foreach ( $categories as $cat ) {

      Maybe the orphaned categories could be deleted from the database too.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: