update
parent
aaf8686e6c
commit
1bca566ff3
|
|
@ -2058,7 +2058,7 @@ if (!function_exists('permission')) {
|
|||
if ($query > 0) {
|
||||
return true;
|
||||
} else {
|
||||
return abort('401');
|
||||
return false;
|
||||
}
|
||||
}
|
||||
} else {
|
||||
|
|
|
|||
|
|
@ -279,7 +279,7 @@ class ProfileController extends Controller
|
|||
|
||||
$action = '';
|
||||
|
||||
if((@permission('is_create', $this->route.'.*','module',false)) || (@permission('is_update', $this->route.'.*','module',false))){
|
||||
if((permission('is_create', $this->route.'.*','module',false)) || (permission('is_update', $this->route.'.*','module',false))){
|
||||
$action .= '<a href="'.url('profile-sekolah/update/'.encode_id($row->sekolah->MsSekolahId)).'" data-toggle="tooltip" title="Edit Data" class="btn btn-xs btn-block btn-primary"><i class="fal fa-pencil text-white"></i></a>';
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue