Moodle 1.5 notifies all teachers when a student uploads an assignment.
Moodle should send an email only to the teacher whose Group that student is in.
The issue is in /lib/datalib.php file in function get_group_teachers().
The bug is in the code that reads
It should be
Supplied by Ilshat Fattakhov.