diff --git a/resources/views/Admin/Shop/Articles/form.blade.php b/resources/views/Admin/Shop/Articles/form.blade.php
index 4708882c..c2cee1b2 100644
--- a/resources/views/Admin/Shop/Articles/form.blade.php
+++ b/resources/views/Admin/Shop/Articles/form.blade.php
@@ -39,10 +39,10 @@
@include('components.form.toggle', [
'name' => 'visible',
- 'value' => $article['visible'],
+ 'value' => ($article['visible'] ?? null),
'on' => __('visible'),
'off' => __('invisible'),
- 'meta' => 'data-id='.$article['id'],
+ 'meta' => 'data-id=' . ($article['id'] ?? null),
'size' => 'sm',
])