From f4677665ef6f92dd8f2794d9a5833271dbeae20a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=A0=D1=83=D0=B4?= =?UTF-8?q?=D0=B5=D0=BD=D0=B5=D1=86?= <andrey.rudenets@gmail.com> Date: Tue, 16 Sep 2014 16:57:35 +0400 Subject: [PATCH] fix --- ~dev_rating/application/classes/Controller/Handler/Map.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/~dev_rating/application/classes/Controller/Handler/Map.php b/~dev_rating/application/classes/Controller/Handler/Map.php index 012d60f88..d73547c4d 100644 --- a/~dev_rating/application/classes/Controller/Handler/Map.php +++ b/~dev_rating/application/classes/Controller/Handler/Map.php @@ -39,7 +39,7 @@ class Controller_Handler_Map extends Controller_Handler { $this->post->offsetGet('FacultyID') ); $data['DisciplineID'] = $result[0]['Num']; - if ($this->post->offsetGet('BonusRate')) + if ($this->post->offsetGet('BonusRate') == "true") $result = $this->model->AddModuleBonus( $this->user['TeacherID'], $data['DisciplineID'] -- GitLab