Skip to content
Snippets Groups Projects
Commit f045c683 authored by Muhammad Nizami's avatar Muhammad Nizami
Browse files

fix bug

parent 05ff8b27
Branches
Tags
No related merge requests found
Pipeline #2837 skipped
...@@ -33,8 +33,11 @@ class PermohonanController extends CommonUserController ...@@ -33,8 +33,11 @@ class PermohonanController extends CommonUserController
if ($token){ if ($token){
$userKependudukan = UserKependudukan::where('token','=',$token)->first(); $userKependudukan = UserKependudukan::where('token','=',$token)->first();
$nik = $userKependudukan->nik; if ($userKependudukan)
{
$nik = $userKependudukan->nik;
}
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment