fixed incorrect intersect copy/pasted from assignment module
authorPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:50:22 +0000 (12:50 +0000)
committerPetr Skoda <skodak@moodle.org>
Sat, 18 Sep 2010 12:50:22 +0000 (12:50 +0000)
mod/feedback/lib.php

index 0a56c3b..2029092 100644 (file)
@@ -348,7 +348,7 @@ function feedback_get_recent_mod_activity(&$activities, &$index, $timemodified,
                     continue;
                 }
                 $usersgroups = array_keys($usersgroups);
-                $interset = array_intersect($usersgroups, $modinfo->groups[$cm->id]);
+                $intersect = array_intersect($usersgroups, $modinfo->groups[$cm->id]);
                 if (empty($intersect)) {
                     continue;
                 }