Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Bug 2140 solved partially. Now categories are

deleted properly.

Delete of orphan categories will be done later...
  • Loading branch information...
commit 412e0bb881709d101d06517f97f4a2d06b5e6247 1 parent c5505d8
stronk7 authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  mod/glossary/lib.php
View
2  mod/glossary/lib.php
@@ -137,7 +137,7 @@ function glossary_delete_instance($id) {
} else {
if ($categories = get_records("glossary_categories","glossaryid",$glossary->id)) {
$cats = "";
- foreach ( $categories as $hook ) {
+ foreach ( $categories as $cat ) {
$cats .= "$cat->id,";
}
$cats = substr($cats,0,-1);
Please sign in to comment.
Something went wrong with that request. Please try again.