From a854d677dc7e64101316660cb420522c70c3f4f1 Mon Sep 17 00:00:00 2001 From: Ilham Wara Nugroho Date: Tue, 3 Mar 2026 14:00:13 +0700 Subject: [PATCH] update --- app/Helpers/custom.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Helpers/custom.php b/app/Helpers/custom.php index c418392..396de04 100644 --- a/app/Helpers/custom.php +++ b/app/Helpers/custom.php @@ -389,7 +389,9 @@ if (!function_exists('kuesionerLogStatus')) { if(@$log->status == 11){ $progress = 'Terbit SK'; }else{ - $progress = ''.str_replace('_',' ',\Str::title($log->step)).''; + if(@$log){ + $progress = ''.str_replace('_',' ',\Str::title(@$log->step)).''; + } } } return $progress;