diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-02-08 15:39:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-08 15:39:51 +0100 |
commit | a86c3f1759a3c0ecbf095888789c2a08d71b5c09 (patch) | |
tree | 540737e663406e922091a5e177b1105fc5a96212 /src/Wallabag/CoreBundle/Form/Type/NewEntryType.php | |
parent | 18460b2d79125d0252e7fe71e1ae84d5ef4f040a (diff) | |
parent | baa5ee2d4292460425ca7f6572425f1fb1100d9d (diff) | |
download | wallabag-a86c3f1759a3c0ecbf095888789c2a08d71b5c09.tar.gz wallabag-a86c3f1759a3c0ecbf095888789c2a08d71b5c09.tar.zst wallabag-a86c3f1759a3c0ecbf095888789c2a08d71b5c09.zip |
Merge pull request #3879 from wallabag/fix/url-default-protocol
Force default_protocol to generate an url input
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/NewEntryType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/NewEntryType.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php b/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php index 7d74fee3..7af1e589 100644 --- a/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php +++ b/src/Wallabag/CoreBundle/Form/Type/NewEntryType.php | |||
@@ -15,6 +15,7 @@ class NewEntryType extends AbstractType | |||
15 | ->add('url', UrlType::class, [ | 15 | ->add('url', UrlType::class, [ |
16 | 'required' => true, | 16 | 'required' => true, |
17 | 'label' => 'entry.new.form_new.url_label', | 17 | 'label' => 'entry.new.form_new.url_label', |
18 | 'default_protocol' => null, | ||
18 | ]) | 19 | ]) |
19 | ; | 20 | ; |
20 | } | 21 | } |