From 916b933b1519751ca63907827ce8f8b48c917ba4 Mon Sep 17 00:00:00 2001
From: David <davidkwan95@gmail.com>
Date: Thu, 7 Apr 2016 07:54:31 +0700
Subject: [PATCH] fix userType in ProfileController

---
 IES-Bandung/app/Http/Controllers/ProfileController.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/IES-Bandung/app/Http/Controllers/ProfileController.php b/IES-Bandung/app/Http/Controllers/ProfileController.php
index 6a6a810..0f0d585 100644
--- a/IES-Bandung/app/Http/Controllers/ProfileController.php
+++ b/IES-Bandung/app/Http/Controllers/ProfileController.php
@@ -38,7 +38,7 @@ class ProfileController extends Controller
 
         $userType = $user['userType'];
 
-        if($userType === "publicUser"){
+        if($userType === "public"){
             $this->controller = new PublicUserController();
         }
         else if($userType === "vendor"){
-- 
GitLab