|
|
@ -467,6 +467,7 @@ class ActivityController extends Controller |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
$activity->parent_id = $activityStack[count($activityStack) - 1]->id ?? null; |
|
|
|
$activity->parent_id = $activityStack[count($activityStack) - 1]->id ?? null; |
|
|
|
|
|
|
|
array_push($activityStack, $activity); |
|
|
|
// there should be better way to except / filter attribute level before save because it's cause error |
|
|
|
// there should be better way to except / filter attribute level before save because it's cause error |
|
|
|
// cant use except() / filter() on $activity collection somehow |
|
|
|
// cant use except() / filter() on $activity collection somehow |
|
|
|
unset($activity->level); |
|
|
|
unset($activity->level); |
|
|
|