Skip to content

Commit 46df538

Browse files
committed
fix warning
1 parent 81ad951 commit 46df538

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/patches.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
$url = $form->get('url')->getData();
3939
$type = $form->get('type')->getData();
4040
$description = $form->get('description')->getData();
41-
$video_url = $form->get('video_url', '')->getData();
41+
$video_url = $form->get('video_url')->getData() ?? '';
4242
$p = Patch::factory($group, $url, $type, $description, $user, $video_url);
4343
$group->patches->add($p);
4444
db_save($p);

0 commit comments

Comments
 (0)