We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81ad951 commit 46df538Copy full SHA for 46df538
pages/patches.php
@@ -38,7 +38,7 @@
38
$url = $form->get('url')->getData();
39
$type = $form->get('type')->getData();
40
$description = $form->get('description')->getData();
41
- $video_url = $form->get('video_url', '')->getData();
+ $video_url = $form->get('video_url')->getData() ?? '';
42
$p = Patch::factory($group, $url, $type, $description, $user, $video_url);
43
$group->patches->add($p);
44
db_save($p);
0 commit comments