From 868d80d87f737806abcc1eb538a6062589bb450f Mon Sep 17 00:00:00 2001
From: xamgore <xamgore@ya.ru>
Date: Wed, 11 Mar 2015 18:34:03 +0300
Subject: [PATCH] Fixme comment, undefined behaviour

---
 .../application/classes/Controller/Handler/FileCreator.php      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/~dev_rating/application/classes/Controller/Handler/FileCreator.php b/~dev_rating/application/classes/Controller/Handler/FileCreator.php
index 849b8322b..c35fad9f1 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,
-- 
GitLab