From f337de2e6bbb446eb4aed07185b1451d81ed69e0 Mon Sep 17 00:00:00 2001 From: elvanowen <vanzz_95@hotmail.com> Date: Mon, 16 May 2016 17:39:06 +0700 Subject: [PATCH] Everything --- CoefficientEditor/index.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/CoefficientEditor/index.php b/CoefficientEditor/index.php index e3e6116..808e8db 100644 --- a/CoefficientEditor/index.php +++ b/CoefficientEditor/index.php @@ -79,11 +79,11 @@ $app->put('/changeCoefficient/gajiPokok', function() use ($app) { 'golongan' => $coefficient->golongan, 'tahun' => $coefficient->tahun, 'subgolongan' => $coefficient->subgolongan, - 'gaji_pokok' => $coefficient->gaji_pokok + 'gaji_pokok' => $coefficient->koefisien )); $response = new Response(); - + if ($status->success() != true) { $response->setStatusCode(409, "Conflict"); $errors = array(); -- GitLab