Skip to content

Commit b4a0c04

Browse files
author
Alena Holligan
committed
ohm-525 count forums
1 parent eea6cd2 commit b4a0c04

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

includes/unenroll.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ function unenrollstu($cid,$tounenroll,$delforum=false,$deloffline=false,$withwit
110110
if (count($gblist)>0) {
111111
$where[] = "(gradetype = 'offline' AND gradetypeid IN($gblist))";
112112
}
113-
if (count($forumlist)>0) {
113+
if (count($forums)>0) {
114114
$where[] = "(gradetype = 'forum' AND gradetypeid IN($forumlist))";
115115
}
116116
if (!empty($where)) {

0 commit comments

Comments
 (0)