diff --git a/~dev_rating/application/classes/Controller/Handler/FileCreator.php b/~dev_rating/application/classes/Controller/Handler/FileCreator.php
index 849b8322b00664e830d3f1461699b558da3d2ab0..c35fad9f1e83386addb4fae4a5cba2c148134111 100644
--- a/~dev_rating/application/classes/Controller/Handler/FileCreator.php
+++ b/~dev_rating/application/classes/Controller/Handler/FileCreator.php
@@ -136,7 +136,7 @@ class Controller_Handler_FileCreator extends Controller_Handler
                 }
                 // Студенты
                 $i_s++;
-                $ratesum += $r['Rate'];
+                $ratesum += $r['Rate'];  # fixme: undefined variable. $r -> $row?
 
                 $sheet->setCellValueByColumnAndRow(
                     0,