diff --git a/app/Helpers/custom.php b/app/Helpers/custom.php index 05a5db0..23b1b31 100644 --- a/app/Helpers/custom.php +++ b/app/Helpers/custom.php @@ -389,8 +389,7 @@ if (!function_exists('topikById')) { if (!function_exists('tabelById')) { function tabelById($id){ - $keyId = decode_id($id); - $tabel = TabelData::find($keyId); + $tabel = TabelData::find($id); return $tabel; } }